summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authoradityacp2016-09-02 12:59:20 +0530
committeradityacp2016-09-02 12:59:20 +0530
commit3c1bbe9d8c53c419d2fa2a254228484ea74aab96 (patch)
tree505e646133b52fe56fe1006ad48007cf01c61125 /yaksh/forms.py
parent83fe192987c239287bf816a31f4da31910eb7087 (diff)
parent01e08dd15b59ce353043d541c9be81592cda3fe0 (diff)
downloadonline_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.tar.gz
online_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.tar.bz2
online_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.zip
refactor in test_models and updated with latest changes
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 1226fe2..4a20102 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -1,9 +1,9 @@
from django import forms
-from yaksh.models import get_model_class, Profile, Quiz, Question, TestCase, Course, StandardTestCase, StdoutBasedTestCase
+from yaksh.models import get_model_class, Profile, Quiz, Question, TestCase, Course, StandardTestCase, StdioBasedTestCase
from django.contrib.auth import authenticate
from django.contrib.auth.models import User
-from django.contrib.contenttypes.models import ContentType
+from django.contrib.contenttypes.models import ContentType
from taggit.managers import TaggableManager
from taggit.forms import TagField
@@ -33,7 +33,7 @@ question_types = (
test_case_types = (
("standardtestcase", "Standard Testcase"),
- ("stdoutbasedtestcase", "Stdout Based Testcase"),
+ ("stdiobasedtestcase", "Stdio Based Testcase"),
("mcqtestcase", "MCQ Testcase"),
)