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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.0.tar.gz
Algorithm Hash digest
SHA256 91af5dd27523edc9fb9c937be5c23628b3964f8ab4d70483c8b230e405aa0ffb
MD5 d07abe721ffb43f20aa799c3c112137e
BLAKE2b-256 5ed3196940bc85af109a0eee888a7ed4ea81e0075b2192b4d57bab614f6fdbe0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8eb3909212541d59a68a2b8704b7ab6a142a381adc31e34c3b95b6e435f0d409
MD5 5b5afa6a8590f5fd3e0ef0e5697e9f49
BLAKE2b-256 87799b1e072c3d5acd595bc0c8fcd829bad0c7bb1119fd5b66a0587229e611c6

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