Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-outbox-hitcount-1.0.3.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file django-outbox-hitcount-1.0.3.tar.gz.

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f81ca51e5ed65ac75f4ff5bdc525095054c332ac8c486acecd62060e7432cd65
MD5 c0854086c7dc8f8261448e9d5c81fb29
BLAKE2b-256 3f1c48a9db8ed5e55379b3a76c7cbb25564b1c1ec4c110f7131eb30dd6bee109

See more details on using hashes here.

Provenance

File details

Details for the file django_outbox_hitcount-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65945448ec63e327c0251fe7d9239ea6354850e7c0d44be2158a91759a332413
MD5 0f20cae38198f078ed621647ee9f530a
BLAKE2b-256 c880613c504219b29ba565e2c531b7158ddbb7c78407e839a4b7aead5acd141c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page