extension of django-statistics based on django-tracking
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
statistics
AUTHORS
CHANGES
LICENSE
MANIFEST.in
README
README.rst
setup.py

README.rst

The official repository for django-statistics is at https://github.com/denz/django-statistics.

This is an attempt to improve the application

Dependencies:

_ django-tracking _ django-visitors _ python-geoip libc6 libgeoip1

Configuration:

in settings.py for untrack some urls: STATISTICS_UNTRACK_URLS = ["/favicon","/dajax","/jsi18n" ..... ]

INSTALLED_APP += (
... 'tracking', 'visitor', 'statistics',

)

MIDDLEWARE_CLASSES += (

'tracking.middleware.VisitorTrackingMiddleware', 'tracking.middleware.VisitorCleanUpMiddleware', 'tracking.middleware.BannedIPMiddleware',

'visitor.middleware.VisitorMiddleware',

)

SESSION_COOKIE_AGE = 3600 SESSION_EXPIRE_AT_BROWSER_CLOSE = True SESSION_SAVE_EVERY_REQUEST = True

TRACKING_TIMEOUT = 1