Better Local Settings — January 5, 2010

A common convention I've seen in the Django community is to place code like the following at the bottom of your settings file: # ``settings.py`` # Lots of typical settings here. # ... then ... try: from local_settings ... [Read More]

No Post, Too Busy Coding

Tonight's entry is delayed as I'm working on a potentially interesting piece of code for Django. One thing I have missed from my time in Rails-land is respond_to, which allowed you to serve up different formats based on the Accept header found in the request. So I'm working on crafting something similar. If it works out alright for me, I'll post it here tomorrow night.

1 Comment

Possibly of interest:

http://github.com/zerok/django-oopviews/tree/master/django_oopviews/ctn.py

Sorry, comments have been closed on this post.