From a6f3fc0872ce881078abb7952ef7f48173208624 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 1 Nov 2013 16:04:09 +0100 Subject: no reverse --- pyaggr3g470r/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py index ba2730b9..017ecd4f 100644 --- a/pyaggr3g470r/models.py +++ b/pyaggr3g470r/models.py @@ -14,7 +14,7 @@ class User(Document, UserMixin): lastname = StringField(required = True) email = EmailField(required=True, unique=True) pwdhash = StringField(required=True) - feeds = SortedListField(EmbeddedDocumentField('Feed'), ordering='title', reverse=True) + feeds = SortedListField(EmbeddedDocumentField('Feed'), ordering='title', reverse=False) created_at = DateTimeField(required=True, default=datetime.now) def get_id(self): -- cgit