summaryrefslogtreecommitdiff
path: root/pv
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-09-25 18:52:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-09-25 18:52:36 (GMT)
commit2a40af2011cca2defd64254806970cf376a760a7 (patch)
tree316ef2330a6fc53b41159b1e8f675b29d315eabe /pv
parent821a356f1a8a36560f6731a716c65b5c80553379 (diff)
fixed imports for django 1.7
Diffstat (limited to 'pv')
-rw-r--r--pv/settings.py1
-rw-r--r--pv/urls.py2
-rw-r--r--pv/wsgi.py2
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 = ''
diff --git a/pv/urls.py b/pv/urls.py
index 792e9e9..8d97fb3 100644
--- a/pv/urls.py
+++ b/pv/urls.py
@@ -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()
diff --git a/pv/wsgi.py b/pv/wsgi.py
index 0708263..f704d30 100644
--- a/pv/wsgi.py
+++ b/pv/wsgi.py
@@ -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")