From 909d934c15168d743066a6efc5d04dfee8a50a97 Mon Sep 17 00:00:00 2001 From: Trupti Rajesh Kini Date: Mon, 25 Jan 2016 11:35:42 +0530 Subject: Update settings.py --- PythonTBC/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'PythonTBC') diff --git a/PythonTBC/settings.py b/PythonTBC/settings.py index 1ffd70d..bfcb2d5 100644 --- a/PythonTBC/settings.py +++ b/PythonTBC/settings.py @@ -142,8 +142,7 @@ INSTALLED_APPS = ( ) -# needed for django-hitcount to function properly -SESSION_SAVE_EVERY_REQUEST = True + SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' -- cgit