1. Curtis Maloney
  2. flat_forum

Commits

funkybob  committed 4d9810f

Allow tags to be blank.
Reverse default post ordering

  • Participants
  • Parent commits 4ce85c0
  • Branches default

Comments (0)

Files changed (1)

File flat_forum/models.py

View file
     subject = models.CharField(max_length=200)
     content = models.TextField(blank=True)
 
-    tags = TaggableManager()
+    tags = TaggableManager(blank=True)
 
     class Meta:
         get_latest_by = 'created'
-        ordering = ('-created',)
+        ordering = ('created',)
         permissions = (
             ('can_reply', 'Can reply to Posts'),
         )