Back to the homepage

James Aylett: Django

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 to manage.py: runconcurrentserver, which can run the dev server in either a forked or threaded variant
  • django_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 a Model subclass which contains and manages a slug field automatically
  • django_audited_model takes care of created_by and modified_by fields for you

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.