django-pageviews
django-pageviews copied to clipboard
A very simple middleware based page view counter. It's sole purpose is to increment page views.
Added ability to ignore user agents and directories.
It is straightforward to log a users IP Address with django-ipware: https://github.com/un33k/django-ipware/blob/master/ipware/utils.py It supports both IPv4 and IPv6 as well as Python 3. Install: `pip install django-ipware` In your view...
How to log for allowed apps only instead of all including admin pages. ?
Hello, Nice app ! Could you please indicate in the README.md that the context processor is required ? In settings.py ``` TEMPLATE_CONTEXT_PROCESSORS = ( '...', 'django.core.context_processors.request', ) ``` Regards, Alti.