Created
July 11, 2013 13:32
-
-
Save mbylstra/5975465 to your computer and use it in GitHub Desktop.
If you want to test logging with DEBUG=True on your local Django dev server, you need to do this.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manage.py runserver --insecure | |
#http://stackoverflow.com/questions/5836674/why-does-debug-false-setting-make-my-django-static-files-access-fail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is also a good approach when using Django for AJAX. If you rely on the browser dev tools, the error is only logged if you happen to have already had the dev tools open.