From: Radek Czajka Date: Tue, 15 Nov 2011 14:55:15 +0000 (+0100) Subject: piwik X-Git-Url: https://git.mdrn.pl/turniej.git/commitdiff_plain/6dd6a06012218f6cd54c33485b6320c9b7a87608 piwik --- diff --git a/apps/poetry/templates/poetry/poem.html b/apps/poetry/templates/poetry/poem.html index b6b0ab7..f6a13e2 100644 --- a/apps/poetry/templates/poetry/poem.html +++ b/apps/poetry/templates/poetry/poem.html @@ -78,6 +78,7 @@ +{{ piwik_tag|safe }} diff --git a/turniej/settings.py b/turniej/settings.py index 97fa8da..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', ] diff --git a/turniej/templates/base.html b/turniej/templates/base.html index e66d03d..273547b 100644 --- a/turniej/templates/base.html +++ b/turniej/templates/base.html @@ -30,6 +30,7 @@ +{{ piwik_tag|safe }}