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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.2-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ba9df2b1a5b388e5c45a2b7729f13c62ef1c5cbb327cc5696cbe28f2fde36a05
MD5 936fbe42482be7d25fe0518247d659c9
BLAKE2b-256 391fcf327c7b77ba2a574653eaee3bd871f660146e067f9cd600093dff1595eb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 560f9acc2ec1a63399a53237c59762eff373460c55629c8236da09079b935356
MD5 2d4df8cedeed88531f301c99bc89bb23
BLAKE2b-256 3d983638cd9921e1361411f246f823b08d2fd4034c021e5b180b30e74c102abd

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