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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.1.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.1.1.tar.gz
Algorithm Hash digest
SHA256 89cdd632621ae75d9ab0ccbb7db0e4d473436826842123382da0fb719a320b9e
MD5 6fb4ca3bc519acb93aaf18a2dc571de6
BLAKE2b-256 82ee729b62b7e6fc0c4b4149808cec477dc85057e6bf2f865f4347883995ce9d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44b8963ecc8e1c497c35578e54f87585bf1d9a57d5ab52f54699d88ff7702a30
MD5 c81c2cddc7a8dbf68eefd7b8f39fed92
BLAKE2b-256 1acded692c476659a89e1ee8f3582c5e9399a0644d6c9f876346aaf7a1cc0adb

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