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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.4-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b20323b11e54c5407bf8c698e422309f9e5857aa939c5fff4fb06d8ed2acb183
MD5 dc99f971c4d9057a1df454ff9163c84e
BLAKE2b-256 9f97d169b771bae08b0365b5d0a78317733c891ad98d56659fbc09d7715c01ce

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dfbcc1da089d8069679295cdc6b3689a2e211a967f78bde85e42eb1840cc59c1
MD5 3278994992bb6b22c15b64f742739b02
BLAKE2b-256 69b8fef44af340737b25669f8c76d3f7dc9ef7d95a372c42df29c920e627f935

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