Python3 compatible
[koed-quiz.git] / koedquiz / settings.py
index 52cd99a..13ce2ef 100644 (file)
@@ -1,5 +1,7 @@
 # -*- coding: utf-8 -*-
-# Django settings for koedquiz project.
+# This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
 import os.path
 
 PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
@@ -60,7 +62,7 @@ MEDIA_URL = '/media/'
 # Don't put anything in this directory yourself; store your static files
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
 # Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = os.path.join(PROJECT_DIR, '../static')
+STATIC_ROOT = os.path.join(PROJECT_DIR, 'static/')
 
 # URL prefix for static files.
 # Example: "http://media.lawrence.com/static/"
@@ -121,8 +123,6 @@ INSTALLED_APPS = [
     'django.contrib.admin',
     'django.contrib.admindocs',
 
-    'south',
-
     'quiz',
 ]
 
@@ -151,6 +151,6 @@ LOGGING = {
 
 # Load localsettings, if they exist
 try:
-    from localsettings import *
+    from .localsettings import *
 except ImportError:
     pass