Skip to content

Instantly share code, notes, and snippets.

@mbylstra
Created July 11, 2013 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbylstra/5975465 to your computer and use it in GitHub Desktop.
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.
manage.py runserver --insecure
#http://stackoverflow.com/questions/5836674/why-does-debug-false-setting-make-my-django-static-files-access-fail
@mbylstra
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment