django-analytical/analytical/__init__.py
Joost Cassee 3db3bf4b0e Simplify analytics tag loading
The general-purpose tag loading code was much too generic and complex,
so this commit hard-codes the supported services.  Also adds a tutorial
to the documentation.

This commit is not tested.
2011-01-28 18:02:23 +01:00

22 lines
624 B
Python

"""
Analytics service integration for Django
========================================
The django-analytical application integrates analytics services into a
Django_ project. See the ``docs`` directory for more information.
.. _Django: http://www.djangoproject.com/
"""
__author__ = "Joost Cassee"
__email__ = "joost@cassee.net"
__version__ = "0.2.0alpha"
__copyright__ = "Copyright (C) 2011 Joost Cassee"
__license__ = "MIT License"
try:
from collections import namedtuple
except ImportError:
namedtuple = lambda name, fields: lambda *values: values
Property = namedtuple('Property', ['num', 'name', 'value'])