diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-09-25 18:52:36 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-09-25 18:52:36 (GMT) |
commit | 2a40af2011cca2defd64254806970cf376a760a7 (patch) | |
tree | 316ef2330a6fc53b41159b1e8f675b29d315eabe /pv | |
parent | 821a356f1a8a36560f6731a716c65b5c80553379 (diff) |
fixed imports for django 1.7
Diffstat (limited to 'pv')
-rw-r--r-- | pv/settings.py | 1 | ||||
-rw-r--r-- | pv/urls.py | 2 | ||||
-rw-r--r-- | pv/wsgi.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/pv/settings.py b/pv/settings.py index 7ef0067..de116c2 100644 --- a/pv/settings.py +++ b/pv/settings.py @@ -36,6 +36,7 @@ LOCALE_PATHS = os.path.join(PROJECT_DIR, 'locale') MEDIA_ROOT = os.path.join(PROJECT_DIR, 'site_media') MEDIA_URL = '/site_media/' +STATIC_ROOT = os.path.join(PROJECT_DIR, 'static') STATIC_URL = '/static/' SECRET_KEY = '' @@ -1,5 +1,5 @@ from django.conf import settings -from django.conf.urls.defaults import * +from django.conf.urls import patterns, url, include from django.contrib import admin admin.autodiscover() @@ -16,7 +16,7 @@ framework. import os import sys -sys.path.append('/var/www/pv') +sys.path.append('/srv/pv/pv') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pv.settings") |