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

Uploaded Source

Built Distribution

django_outbox_hitcount-1.0.11-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-outbox-hitcount-1.0.11.tar.gz
Algorithm Hash digest
SHA256 b420a0c6c0d5be47a5a84174c321241b61001ae94a391d2ce021970948a6f071
MD5 8d03769b2e876a6326c4a6d53aa14be1
BLAKE2b-256 93ed31c5ba94a9a5a6510c5833fa3a6b1ad37e15086f30f393b0b0693dfa2cf9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_outbox_hitcount-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fd2c319307dca5eda0f498b12c997c39001e91331db58cab65b1ee769b31c278
MD5 6aca5b6619df3c7093143d726cef0131
BLAKE2b-256 6220e568b73b60513bf35c93581d5c33a6903ab14baff2bbd867dafacf78b0cc

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