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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.6-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.6.tar.gz
Algorithm Hash digest
SHA256 ec36fcd951977a48d218464bcde04edd90424b18d1732623f502a1fc22dbb06a
MD5 d4ebc0d6639197dc61f6a011e6e72c29
BLAKE2b-256 5518c4e639004857050e9c1414898517bd72f77958400a0c6788c66c395f968c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d04c976050ca13d823c24314fe8d0bad289bf26822c0c328f03877612a1222ab
MD5 3f5f74fac829f14bbe387dc295d01bed
BLAKE2b-256 f327d51025dc29f7943167e4042ab138eaba30f53266515cf78211a6a1d04f30

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