Commit e62409ab authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Installed piwik tracking.

parent de2eed0d
...@@ -127,6 +127,7 @@ INSTALLED_APPS = ( ...@@ -127,6 +127,7 @@ INSTALLED_APPS = (
'django.contrib.comments', 'django.contrib.comments',
'go', 'go',
'south', 'south',
'piwik',
# Uncomment the next line to enable the admin: # Uncomment the next line to enable the admin:
'django.contrib.admin', 'django.contrib.admin',
# Uncomment the next line to enable admin documentation: # Uncomment the next line to enable admin documentation:
...@@ -213,3 +214,8 @@ AUTH_LDAP_USER_ATTR_MAP = { ...@@ -213,3 +214,8 @@ AUTH_LDAP_USER_ATTR_MAP = {
# This is the default, but I like to be explicit. # This is the default, but I like to be explicit.
AUTH_LDAP_ALWAYS_UPDATE_USER = True AUTH_LDAP_ALWAYS_UPDATE_USER = True
# Piwik settings.
PIWIK_SITE_ID = secret.PIWIK_SITE_ID
PIWIK_URL = secret.PIWIK_URL
{% load piwik_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
...@@ -34,6 +35,8 @@ ...@@ -34,6 +35,8 @@
{% include 'footer.html' %} {% include 'footer.html' %}
</div> </div>
{% tracking_code %}
</body> </body>
</html> </html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment