News for hackers. Stuff that matters.
Re:The Perfect Django Settings File by redsymbol on Tuesday September 21, 2010 @11:09AM (#1712868)
Good writeup.

One small thing I do differently: in my dev machines, I'll set and export DJANGO_DEBUG in the environment. Then in settings.py:

  import os
  DEBUG = 'DJANGO_DEBUG' in os.environ
This doesn't hardcode a single hostname in checked-in code, and works well across different machines and developers.

There are no comments on this comment yet.