summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorankitjavalkar2016-04-28 18:19:09 +0530
committerankitjavalkar2016-05-05 19:20:23 +0530
commit5967e0e1cce19d356ba622719b332f776127b277 (patch)
tree8a98600738d1ce586f275ee52e51f09e1d9dc2ce /yaksh/models.py
parent23216995e0fc0e94fd58c6186eed74c943ae5081 (diff)
downloadonline_test-5967e0e1cce19d356ba622719b332f776127b277.tar.gz
online_test-5967e0e1cce19d356ba622719b332f776127b277.tar.bz2
online_test-5967e0e1cce19d356ba622719b332f776127b277.zip
- Add formsets to Add question templates
- add/modify test cases in place when adding questions
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index db4b7a8..d15fdf2 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -54,6 +54,7 @@ def get_model_class(model):
ctype = ContentType.objects.get(app_label="yaksh", model=model)
model_class = ctype.model_class()
+ return model_class
###############################################################################