diff options
author | Trupti Rajesh Kini | 2016-01-25 11:31:15 +0530 |
---|---|---|
committer | Trupti Rajesh Kini | 2016-01-25 11:31:15 +0530 |
commit | b2c79f1fba13972db99af8a45558b6ca39980f16 (patch) | |
tree | 11bb6f79763e06ce002e74808f2dd3b7d9d74a9f /PythonTBC/settings.py | |
parent | 1f85209fb1244224c8ec80e4824e218503bfe074 (diff) | |
download | Python-TBC-Interface-b2c79f1fba13972db99af8a45558b6ca39980f16.tar.gz Python-TBC-Interface-b2c79f1fba13972db99af8a45558b6ca39980f16.tar.bz2 Python-TBC-Interface-b2c79f1fba13972db99af8a45558b6ca39980f16.zip |
Update settings.py
Diffstat (limited to 'PythonTBC/settings.py')
-rw-r--r-- | PythonTBC/settings.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/PythonTBC/settings.py b/PythonTBC/settings.py index 5ffd4af..1ffd70d 100644 --- a/PythonTBC/settings.py +++ b/PythonTBC/settings.py @@ -139,14 +139,14 @@ INSTALLED_APPS = ( 'tbc', 'comments', 'south', - 'hitcount', + ) # needed for django-hitcount to function properly SESSION_SAVE_EVERY_REQUEST = True SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' -SOUTH_MIGRATION_MODULES = {"hitcount": "hitcount.south_migrations"} + # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False. @@ -175,7 +175,4 @@ LOGGING = { }, } } -HITCOUNT_KEEP_HIT_ACTIVE = { 'minutes': 60 } -HITCOUNT_HITS_PER_IP_LIMIT = 0 #unlimited -HITCOUNT_EXCLUDE_USER_GROUP = ( ) # not used -HITCOUNT_KEEP_HIT_IN_DATABASE = { 'seconds': 10 } + |