X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/85758488fc4c0f60e4b958df9c4c7cd67a732000..ea335ef160fbe5f8488e8bef51a4706163ba9964:/platforma/config/platforma.wsgi.template?ds=sidebyside diff --git a/platforma/config/platforma.wsgi.template b/platforma/config/platforma.wsgi.template index 3528fe88..f16d9b87 100644 --- a/platforma/config/platforma.wsgi.template +++ b/platforma/config/platforma.wsgi.template @@ -15,10 +15,11 @@ sys.path = [ '%(path)s/releases/current', '%(path)s/releases/current/apps', '%(path)s/releases/current/lib', + '%(sandbox)s/etc/%(project_name)s, ] + sys.path # Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' +os.environ['DJANGO_SETTINGS_MODULE'] = '%(project_name)s.settings' from django.core.handlers.wsgi import WSGIHandler application = WSGIHandler()