concentricsky/csky-django-template — pull request #10 by auzigog (2012-05-31 01:48:32+00:00)
Title: Fix how DEBUG_MEDIA urls are enabled

I changed two things about the DEBUG_MEDIA is served:

* I removed the DEBUG or DEBUG_MEDIA logic. If I wanted to have DEBUG=True but turn off DEBUG_MEDIA, that logic wouldn't allow it. This way, there's only one settings that determines it, and if you want to change it, you can go to your settings_localy.py to figure it out.
* I changed the getattr default from True to False since if this is being deployed on a live site, the default on most servers should be False. It sends a signal that it's bad idea to server media this way.

What do you think?