diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-01 16:04:09 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-01 16:04:09 +0100 |
commit | a6f3fc0872ce881078abb7952ef7f48173208624 (patch) | |
tree | 1805f0cd5ecbfa945b165821ba0b51f35908020e /pyaggr3g470r | |
parent | It is now possible to add a feed via a form for different users. (diff) | |
download | newspipe-a6f3fc0872ce881078abb7952ef7f48173208624.tar.gz newspipe-a6f3fc0872ce881078abb7952ef7f48173208624.tar.bz2 newspipe-a6f3fc0872ce881078abb7952ef7f48173208624.zip |
no reverse
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |