From e46028c511596e52495d64baed6fc53e11fb3b4a Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 6 Jun 2016 14:03:01 +0530 Subject: changes as per pep8 in models --- yaksh/models.py | 10 ++++++---- 1 file 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) -- cgit