django-outbox-hitcount-1.0.9
توضیحات
DJANGO OUTBOX HITCOUNT
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-outbox-hitcount-1.0.9 |
| نام | django-outbox-hitcount |
| نسخه کتابخانه | 1.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | suratiwan03@gmail.com |
| آدرس صفحه اصلی | https://github.com/PROJECT-OUTBOX/django_lib_outbox_hitcount |
| آدرس اینترنتی | https://pypi.org/project/django-outbox-hitcount/ |
| مجوز | - |
# 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
نیازمندی
| مقدار | نام |
|---|---|
| - | django-hitcount |
| - | httpagentparser |
| - | pytz |
| - | requests |
نحوه نصب
نصب پکیج whl django-outbox-hitcount-1.0.9:
pip install django-outbox-hitcount-1.0.9.whl
نصب پکیج tar.gz django-outbox-hitcount-1.0.9:
pip install django-outbox-hitcount-1.0.9.tar.gz