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
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


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.9.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.9-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.9.tar.gz
Algorithm Hash digest
SHA256 e1e628c2e8c02965ac762ca14a69067f8abb87ae0465db66b8edc6212d4b47e6
MD5 a6a31d10e2946e50fbdb17c2f8a5585f
BLAKE2b-256 0836d496f8895f70b2c2d9562f66704d1d82a096ae070f8b66f94937253df4db

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4918c2666b141b74efee0a7d7cc136040fa14748c2b7673da99e3a56b5c409
MD5 5bc5b2ce40dd0fce1efa2f29b3dfbb62
BLAKE2b-256 df768fbf2f7bf1fc53da201a20ed4b0b09c551f8b8dff782290d777bbfb94abd

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