Permalink
Browse files

Django guidelines recommend having .wsgi file in its own file for sec…

…urity reasons
  • Loading branch information...
1 parent 9d63af1 commit ef8e19612abc8747ab5ebf5daebc9577aa3dfc91 @cnorthwood cnorthwood committed Nov 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/molly_oxford/{ → apache}/molly_oxford.wsgi
@@ -3,7 +3,7 @@
import os, os.path
import sys
-os.environ['DJANGO_SETTINGS_MODULE'] = 'demos.molly_oxford.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'molly_oxford.settings'
sys.path.insert(0, os.path.abspath(os.path.join(
os.path.dirname(__file__), '..', '..',
)))

0 comments on commit ef8e196

Please sign in to comment.