summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-03-17 17:51:42 +0530
committerGitHub2017-03-17 17:51:42 +0530
commitc0928d64d04c010ff34538f50a3c02a37b20b235 (patch)
tree34468f85ef76df6e92291039f0282ed6241b9146 /yaksh/models.py
parent6ff0e4213ab1685200b71ad6bcc1fcdabd6ebf78 (diff)
parent39fcbfd9b8d4072482b1dee2532ef66c64ad630a (diff)
downloadonline_test-c0928d64d04c010ff34538f50a3c02a37b20b235.tar.gz
online_test-c0928d64d04c010ff34538f50a3c02a37b20b235.tar.bz2
online_test-c0928d64d04c010ff34538f50a3c02a37b20b235.zip
Merge pull request #245 from prathamesh920/migrations-in-script
Migrations in script
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 103504e..f5da55f 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -532,7 +532,7 @@ class Quiz(models.Model):
# The start date of the quiz.
start_date_time = models.DateTimeField(
"Start Date and Time of the quiz",
- default=timezone.now(),
+ default=timezone.now,
null=True
)