X-Git-Url: https://git.mdrn.pl/turniej.git/blobdiff_plain/3dbaa20d66d533211dc34746150cbb31f5afd5d3..db566020a374d0e81e8274ab0e5ba8061f8903ad:/turniej/settings.py diff --git a/turniej/settings.py b/turniej/settings.py index 62a66e5..8687ba1 100644 --- a/turniej/settings.py +++ b/turniej/settings.py @@ -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 *