June 2nd, 2008 |
by clong |
published in
Django, StartupIndex, Web Development
Recently on StartupIndex.ca, I’ve noticed a problem where the first time you login it fails, the second time it works. I sat down last night, and spent some time attempting to solve this problem. My search on the greater web didn’t end up with very many results, I did find one mailing list thread on [...]
April 29th, 2008 |
by clong |
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 [...]
April 28th, 2008 |
by clong |
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 [...]