aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 16:59:27 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 16:59:27 +0100
commitcd5acda0300193a80a96bef687f0403417ad42ee (patch)
treeafed3d0014e0c58921b6030ffe47e7ab73097673 /pyaggr3g470r/models.py
parentno reverse (diff)
downloadnewspipe-cd5acda0300193a80a96bef687f0403417ad42ee.tar.gz
newspipe-cd5acda0300193a80a96bef687f0403417ad42ee.tar.bz2
newspipe-cd5acda0300193a80a96bef687f0403417ad42ee.zip
Improved sort of feeds.
Diffstat (limited to 'pyaggr3g470r/models.py')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 017ecd4f..629cc4c2 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=False)
+ feeds = ListField(EmbeddedDocumentField('Feed'))
created_at = DateTimeField(required=True, default=datetime.now)
def get_id(self):
bgstack15