Преглед изворни кода

Fix path on apps directory in wsgi file

Colin Powell пре 5 година
родитељ
комит
13d63f7b4c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      wsgi.py

+ 1 - 1
wsgi.py

@@ -7,7 +7,7 @@ execfile(activate_this, dict(__file__=activate_this))
 os.environ["DJANGO_SETTINGS_MODULE"] = "pbp_com.settings"
 
 BASE_DIR = os.path.dirname(os.path.dirname(__file__))
-sys.path.insert(0, os.path.join(BASE_DIR, "apps"))
+sys.path.insert(0, os.path.join(BASE_DIR, "pbp_com/apps"))
 
 import django.core.handlers.wsgi