SenZendao 2019-06-27
django-tracking keeps track of visitors to Django-powered Web sites. It also offers basic blacklisting capabilities.
pip install django-tracking
pip install django-tracking2
Note会出错: no module named listeners
解决方案: pip install git+https://github.com/bashu/django-tracking.git
First of all, you must add this project to your list of INSTALLED_APPS insettings.py:
INSTALLED_APPS = (
'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', ... 'tracking', ...
)
未完待续~