diff options
author | ankitjavalkar | 2016-04-28 18:19:09 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-05-05 19:20:23 +0530 |
commit | 5967e0e1cce19d356ba622719b332f776127b277 (patch) | |
tree | 8a98600738d1ce586f275ee52e51f09e1d9dc2ce /yaksh/models.py | |
parent | 23216995e0fc0e94fd58c6186eed74c943ae5081 (diff) | |
download | online_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.py | 1 |
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 ############################################################################### |