summaryrefslogtreecommitdiff
path: root/yaksh/middleware/user_time_zone.py
diff options
context:
space:
mode:
authoradityacp2016-05-07 20:01:38 +0530
committeradityacp2016-05-12 10:33:31 +0530
commitcf244b48e9bebcaf48f5491e0a492b7788fd3709 (patch)
tree91738b3b7e10d3071e34ed0b12ae8e8220b5fdcd /yaksh/middleware/user_time_zone.py
parentd3976427988d08490e813918d800bb29f551f9dd (diff)
downloadonline_test-cf244b48e9bebcaf48f5491e0a492b7788fd3709.tar.gz
online_test-cf244b48e9bebcaf48f5491e0a492b7788fd3709.tar.bz2
online_test-cf244b48e9bebcaf48f5491e0a492b7788fd3709.zip
changes in travis.yml
Diffstat (limited to 'yaksh/middleware/user_time_zone.py')
-rw-r--r--yaksh/middleware/user_time_zone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/middleware/user_time_zone.py b/yaksh/middleware/user_time_zone.py
index f48bb62..3555d1f 100644
--- a/yaksh/middleware/user_time_zone.py
+++ b/yaksh/middleware/user_time_zone.py
@@ -1,7 +1,7 @@
import pytz
from django.utils import timezone
-from yaksh.models import Profile
+
class TimezoneMiddleware(object):
""" Middleware to get user's timezone and activate timezone