Django: Difference Between Two Model Instances

April 29th, 2008  |  by  |  published in Django, Web Development

Just a quick snippet, I call this code on a site I’m working on to handle some basic moderation. It finds the difference between the two instances, and returns a dictionary of the changes. The key in the dictionary is the field name, each value in the dictionary is a tuple containing the new and [...]

Django: Caching Querysets

April 28th, 2008  |  by  |  published in Django, Web Development

I have just recently started working with Django again, its been a while since I last used it. One thing I was trying to do was cache querysets, which doesn’t work. Before the recent merge of the queryset refactor branch into trunk, caching querysets appeared to work, in reality it didn’t. Now with the merge [...]

Subscribe via RSS

If you like the content of this website and are looking for a way to be notified of new content, look no further. Just click the orange icon to your right and subscribe using your favorite feed reader.