I’ve become a really big fan of the PickledObjectField provided by this django snippet. So much so that I use it in almost every django model I create these days. Basically it serves as the best way to do an object store in your database and perfectly translates in any JSON conversion. Its an essential [...]
Archive for the ‘databases’ Category
10 May
‘drop’ Database Command for Django Manager
The Django manager is a really handy tool. I wrote earlier about making your own custom managers and there is a lot of other great documentation on it. Django comes with a bunch of helpful management commands like ‘flush’, ‘syncdb’, ‘test’, etc. I’ve created a generic ‘drop’ command as I felt it was missing. I [...]
6 Jul
Organized Database Designing
This isn’t an article on good practices in database design. We definitely wouldn’t be the guys to ask about that. However, after many days of deliberation, and by deliberation I mean yelling, calling each other various names, and wasting several tablets of paper we have finally completed and have some suggestions on how to keep [...]