diff options
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") |