forgotten stuff
[turniej.git] / turniej / settings.py
index 62a66e5..8687ba1 100644 (file)
@@ -101,6 +101,7 @@ MIDDLEWARE_CLASSES = [
     #'django.middleware.csrf.CsrfViewMiddleware',
     #'django.contrib.auth.middleware.AuthenticationMiddleware',
     #'django.contrib.messages.middleware.MessageMiddleware',
+    'piwik.django.middleware.PiwikMiddleware',
 ]
 
 ROOT_URLCONF = 'turniej.urls'
@@ -116,7 +117,7 @@ INSTALLED_APPS = [
     #'django.contrib.auth',
     #'django.contrib.contenttypes',
     #'django.contrib.sessions',
-    #'django.contrib.sites',
+    'django.contrib.sites',
     #'django.contrib.messages',
     'django.contrib.staticfiles',
 
@@ -124,6 +125,7 @@ INSTALLED_APPS = [
     # 'django.contrib.admindocs',
 
     'south',
+    'piwik.django',
 
     'poetry',
 ]
@@ -151,6 +153,8 @@ LOGGING = {
     }
 }
 
+POETRY_POEMS_FOR_CONTEST = 20
+
 # Load localsettings, if they exist
 try:
     from localsettings import *