News for hackers. Stuff that matters.
Re:Promiscuous Django Models by lucian1900 on Thursday June 14, 2012 @11:31AM (#4111773)
Arguably a better approach would be to use something other than pickle for serialising.
Re:Promiscuous Django Models by dguaraglia on Thursday June 14, 2012 @12:13PM (#4112028)
I've done it myself by using a very simple JSONField class, but I'm looking into using PostgreSQL HStore for a next iteration, as it allows me to search the models by attributes, something the JSON field doesn't.
Re:Promiscuous Django Models by amcgregor on Thursday June 14, 2012 @05:42PM (#4113661)
Celery natively pickles the arguments to the background callable. Discussion of why we didn't just pass numerical IDs around is covered in the original article's discussion threads.