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
File details
Details for the file django-outbox-hitcount-1.0.2.tar.gz
.
File metadata
- Download URL: django-outbox-hitcount-1.0.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9df2b1a5b388e5c45a2b7729f13c62ef1c5cbb327cc5696cbe28f2fde36a05 |
|
MD5 | 936fbe42482be7d25fe0518247d659c9 |
|
BLAKE2b-256 | 391fcf327c7b77ba2a574653eaee3bd871f660146e067f9cd600093dff1595eb |
Provenance
File details
Details for the file django_outbox_hitcount-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: django_outbox_hitcount-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 560f9acc2ec1a63399a53237c59762eff373460c55629c8236da09079b935356 |
|
MD5 | 2d4df8cedeed88531f301c99bc89bb23 |
|
BLAKE2b-256 | 3d983638cd9921e1361411f246f823b08d2fd4034c021e5b180b30e74c102abd |