Django is a web framework written in Python. I've written a few extensions to it which may prove useful to some people, and am gradually putting them up here. Generally speaking they are hosted on github, meaning that I consider them abandonware: they do what I need, and I've put them on a DVCS so you can play around with them easily, but I'm unlikely to pull changes back into my copy.
Feel free to get in touch about any of this.
django_concurrent_text_server
adds a new command tomanage.py
: runconcurrentserver, which can run the dev server in either a forked or threaded variantdjango_session_stashable
provides a mixin to make it easy to stash and retrieve model objects from the session, useful when implementing deferred registration (see below)django_auto_sluggable
gives aModel
subclass which contains and manages aslug
field automaticallydjango_audited_model
takes care ofcreated_by
andmodified_by
fields for youdjango_exceptional_middleware
makes it easier to template HTTP responses other than 404, 500 and 200
I've also written some blog posts on Django, and will try to collect them here as makes sense. You could also search my site for Django-related gubbins.
- Implementing deferred registration with Django, introducing
django_session_stashable
- Exceptional HTTP status codes in Django, introducing
django_exceptional_middleware
under its original name ofdjango_custom_rare_http_responses