Skip to content

extension of django-statistics based on django-tracking

License

Notifications You must be signed in to change notification settings

PaoloC68/django-statistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

extension of django-statistics based on django-tracking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages