Tags field now optional. fixes #30
authorCharles Holbrow <charlesholbrow@gmail.com>
Mon, 14 Jan 2013 19:44:35 +0000 (14:44 -0500)
committerCharles Holbrow <charlesholbrow@gmail.com>
Mon, 14 Jan 2013 19:44:35 +0000 (14:44 -0500)
karmaworld/apps/notes/models.py

index 3223a8829ab1f0349f48877d8bcbc663a0cb7c18..1bd79b1d1dbd70c90ed9c8cb62839286d52757ac 100644 (file)
@@ -27,7 +27,7 @@ class Note(models.Model):
 
     course          = models.ForeignKey(Course)
     # Tagging system
-    tags            = TaggableManager()
+    tags            = TaggableManager(blank=True)
 
     name            = models.CharField(max_length=255, blank=True, null=True)
     slug            = models.SlugField(null=True)