DJANGO OUTBOX HITCOUNT
Project description
DJANGO OUTBOX HITCOUNT
Project to make hitcount information more complex. Base on https://github.com/thornomad/django-hitcount, we build advance version that make device, OS, Browser, IP Geolocation, available in your website.
All you need to do is:
In your django Environment
Install package to your environment
> pip install django-outbox-hitcount
Add to INSTALLED_APPS
INSTALLED_APPS = [
'django.contrib.sites',
'outbox-hitcount',
]
Add SITE_ID in user settings.py
SITE_ID = 1
# This setting just like django-hitcount library
HITCOUNT_KEEP_HIT_ACTIVE = { 'hours': 1 }
HITCOUNT_HITS_PER_IP_LIMIT = 0 # unlimited
HITCOUNT_EXCLUDE_USER_GROUP = () # not used
HITCOUNT_KEEP_HIT_IN_DATABASE = { 'days': 90 }
Install requirements
Activate your environment using
> mkvirtualenv env_hitcount
Migrate to create table to your database
> python manage.py migrate
Run project
> python manage.py runserver
on you browser :
127.0.0.1:8000
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-outbox-hitcount-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91af5dd27523edc9fb9c937be5c23628b3964f8ab4d70483c8b230e405aa0ffb |
|
MD5 | d07abe721ffb43f20aa799c3c112137e |
|
BLAKE2b-256 | 5ed3196940bc85af109a0eee888a7ed4ea81e0075b2192b4d57bab614f6fdbe0 |
Close
Hashes for django_outbox_hitcount-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb3909212541d59a68a2b8704b7ab6a142a381adc31e34c3b95b6e435f0d409 |
|
MD5 | 5b5afa6a8590f5fd3e0ef0e5697e9f49 |
|
BLAKE2b-256 | 87799b1e072c3d5acd595bc0c8fcd829bad0c7bb1119fd5b66a0587229e611c6 |