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
USE_TZ = True # set time zone True
# 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
File details
Details for the file django-outbox-hitcount-1.1.1.tar.gz
.
File metadata
- Download URL: django-outbox-hitcount-1.1.1.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89cdd632621ae75d9ab0ccbb7db0e4d473436826842123382da0fb719a320b9e |
|
MD5 | 6fb4ca3bc519acb93aaf18a2dc571de6 |
|
BLAKE2b-256 | 82ee729b62b7e6fc0c4b4149808cec477dc85057e6bf2f865f4347883995ce9d |
File details
Details for the file django_outbox_hitcount-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: django_outbox_hitcount-1.1.1-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44b8963ecc8e1c497c35578e54f87585bf1d9a57d5ab52f54699d88ff7702a30 |
|
MD5 | c81c2cddc7a8dbf68eefd7b8f39fed92 |
|
BLAKE2b-256 | 1acded692c476659a89e1ee8f3582c5e9399a0644d6c9f876346aaf7a1cc0adb |