- ARCHIVE / TAG ARCHIVE
- Django admin and MPTT #2
This is a follow up to the previous post on managing and visualizing trees using django. I’ve been using MPTT quite a bit now and it’s great – also, I looked deeper into the admin integration (basically, the issue of being able of manage trees from within the admin). The major issue I had with […]
- Representing hierarchical data with Django and MPTT
Apparently, you’ve got two options for managing hierarchical data in django – django-mptt and django-treebeard. I didn’t have any time to test both of them carefully, so I just played a bit with the first one (and with great results!). [p.s. the comparison table above is not mine, but I found it quite useful. Click […]
- Snippet to load stuff quickly in the Django shell
Sometimes you end up testing out things a lot using the handy django shell, but every time you’ve got to repeat the same commands to load all the necessary models, utils etc. etc. In order to do this automatically, I thought you had to modify the django-admin.py file or something like that. Nope! Here’s a […]
- Offline django docs
An offline copy of the django docs can be quite helpful if you find yourself doing development work without an internet connection. Obviously, django comes with its docs that you can generate (provided you have Sphinx and build tools). However sometimes a pdf is the handiest solution… here’re some useful links I found: Docs in […]