From 718f2f27b8a1743e8578daca7254f7ef98af0ce6 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 5 Oct 2017 16:27:58 +0530 Subject: Changed snippet to textfield. Not pushing migration file, as it will be merged with release. --- yaksh/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/models.py') 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") -- cgit