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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.10-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.10.tar.gz
Algorithm Hash digest
SHA256 2bee7244b901c3d0ba161498561644dd80ca5589d1215c877b5eb6235a6d0cf8
MD5 d2e2d426c05c6be6e608a72e4a5d1ced
BLAKE2b-256 52402256eb8678f6f5eb59cdf2e9bdbd9c2fde1d356d0d22f573c8f0c11b62f3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 27f46f25acf3abfc79758336657e879051d3466cac44e9e2a447c87c40cecee8
MD5 cb8833346350aa5a5a07c194f1815b4c
BLAKE2b-256 348f53087a03e80763d70bf34fa97ab70a3c09bf01fa28655fb0b659c061b62d

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