summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorprathamesh2017-10-05 16:27:58 +0530
committerprathamesh2017-10-05 16:27:58 +0530
commit718f2f27b8a1743e8578daca7254f7ef98af0ce6 (patch)
tree0c8dda1696200a1ff9a242e9746f5f9585f46a10 /yaksh/models.py
parent52bb77f0afeec8233702dd854e5a2aa81b89855d (diff)
downloadonline_test-718f2f27b8a1743e8578daca7254f7ef98af0ce6.tar.gz
online_test-718f2f27b8a1743e8578daca7254f7ef98af0ce6.tar.bz2
online_test-718f2f27b8a1743e8578daca7254f7ef98af0ce6.zip
Changed snippet to textfield.
Not pushing migration file, as it will be merged with release.
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 68bde48..2fcb767 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -350,7 +350,7 @@ class Question(models.Model):
tags = TaggableManager(blank=True)
# Snippet of code provided to the user.
- snippet = models.CharField(max_length=256, blank=True)
+ snippet = models.TextField(blank=True)
# user for particular question
user = models.ForeignKey(User, related_name="user")