diff options
author | Palaparthy Adityachandra | 2020-05-18 16:29:04 +0530 |
---|---|---|
committer | GitHub | 2020-05-18 16:29:04 +0530 |
commit | 5c57dd3ab185d5d0ad39240180e98d4a3131daa5 (patch) | |
tree | a6ba3348f82f596a9d54b5a3cc63aa1eff83229b /yaksh/models.py | |
parent | db456ca53778c720ee597e3fcf7814c623bc32fd (diff) | |
parent | 61d4096697a84873473ad28afb0dc79f211a54b3 (diff) | |
download | online_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.tar.gz online_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.tar.bz2 online_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.zip |
Merge pull request #697 from CruiseDevice/change-create_question
Fix: #696
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index b64ac77..7d4dd98 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -49,6 +49,7 @@ languages = ( ("java", "Java Language"), ("scilab", "Scilab"), ("r", "R"), + ("other", "Other") ) question_types = ( @@ -1298,6 +1299,8 @@ class Question(models.Model): language = models.CharField(max_length=24, choices=languages) + topic = models.CharField(max_length=50, blank=True, null=True) + # The type of question. type = models.CharField(max_length=24, choices=question_types) |