aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 14:14:27 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 14:14:27 +0200
commit45c22d114ad375bdb36fc697343145ddba469ebf (patch)
tree03d7aeeb4195a2229539a417e6a373db0bf35c65 /pyaggr3g470r/models.py
parentMongoEngine list slicing. (diff)
downloadnewspipe-45c22d114ad375bdb36fc697343145ddba469ebf.tar.gz
newspipe-45c22d114ad375bdb36fc697343145ddba469ebf.tar.bz2
newspipe-45c22d114ad375bdb36fc697343145ddba469ebf.zip
First implementation of /favorites page.
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 8ce361bb..996ea1d4 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -32,7 +32,7 @@ class Feed(Document):
articles = ListField(ReferenceField('Article', dbref = False))
created_date = DateTimeField(required=True, default=datetime.now)
- def __unicode__(self):
+ def __str__(self):
return 'Feed: %s' % self.title
class Article(Document):
bgstack15