summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authoradityacp2016-06-06 14:03:01 +0530
committeradityacp2016-06-06 14:03:01 +0530
commite46028c511596e52495d64baed6fc53e11fb3b4a (patch)
tree71c7280c92fed8981f4e4df4c8b5ddfd6716ed33 /yaksh/models.py
parentbff7f1c916db44e3aec09020affe347e0a1846a6 (diff)
downloadonline_test-e46028c511596e52495d64baed6fc53e11fb3b4a.tar.gz
online_test-e46028c511596e52495d64baed6fc53e11fb3b4a.tar.bz2
online_test-e46028c511596e52495d64baed6fc53e11fb3b4a.zip
changes as per pep8 in models
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 6a1dfbe..87f7c13 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -299,10 +299,12 @@ class Quiz(models.Model):
# The end date and time of the quiz
end_date_time = models.DateTimeField("End Date and Time of the quiz",
- default=datetime(2199, 1, 1,
- tzinfo=pytz.timezone\
- (timezone.get_current_timezone_name())),
- null=True)
+ default=datetime(2199, 1, 1,
+ tzinfo=pytz.timezone
+ (timezone.
+ get_current_timezone_name())
+ ),
+ null=True)
# This is always in minutes.
duration = models.IntegerField("Duration of quiz in minutes", default=20)