Commits

Andrés Reyes Monge committed 91b182d

- cambiando el ordering por default de los posts

  • Participants
  • Parent commits 367b05e

Comments (0)

Files changed (1)

File blog/models.py

     def _set_tags(self, tag_list):
         Tag.objects.update_tags(self, tag_list)
 
-    tags = property(_get_tags, _set_tags)
+    tags = property(_get_tags, _set_tags)
+
+
+    class Meta:
+        ordering = ('-date_published',)