Commits

Shu Zong Chen  committed a06f996

Oops, shouldn't be using tinymce here

  • Participants
  • Parent commits 755e93b

Comments (0)

Files changed (1)

File snippet/models.py

 from django.db import models
-from tinymce import models as tinymce_models
 
 # Create your models here.
 class Snippet(models.Model):
 	name = models.CharField(max_length=255)
-	content = tinymce_models.HTMLField(blank = True)
+	content = models.TextField(blank=True)
 	
 	def __unicode__(self):
 		return self.name