piwik
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 15 Nov 2011 14:55:15 +0000 (15:55 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 15 Nov 2011 14:55:15 +0000 (15:55 +0100)
apps/poetry/templates/poetry/poem.html
turniej/settings.py
turniej/templates/base.html

index b6b0ab7..f6a13e2 100644 (file)
@@ -78,6 +78,7 @@
 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
   {lang: 'pl'}
 </script>
+{{ piwik_tag|safe }}
 </body>
 
 
index 97fa8da..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',
 ]
index e66d03d..273547b 100644 (file)
@@ -30,6 +30,7 @@
 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
   {lang: 'pl'}
 </script>
+{{ piwik_tag|safe }}
 </body>