Commits

Mikhail Korobov committed 15c7c3e

django_wsgi.py template is fixed for custom project layouts

  • Participants
  • Parent commits 172852f

Comments (0)

Files changed (3)

File fab_deploy/config_templates/django_wsgi.py

      '{{ PROJECT_DIR }}',
 ])
 
-os.environ['DJANGO_SETTINGS_MODULE'] = '{{ INSTANCE_NAME }}.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
 
 #print sys.path
 

File fab_deploy_tests/test_project/config_templates/django_wsgi.py

      '{{ PROJECT_DIR }}',
 ])
 
-os.environ['DJANGO_SETTINGS_MODULE'] = '{{ INSTANCE_NAME }}.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
 
 #print sys.path
 

File fab_deploy_tests/test_project2/hosting/staging/django_wsgi.py

      '{{ PROJECT_DIR }}',
 ])
 
-os.environ['DJANGO_SETTINGS_MODULE'] = '{{ INSTANCE_NAME }}.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
 
 #print sys.path