diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-13 14:14:27 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-13 14:14:27 +0200 |
commit | 45c22d114ad375bdb36fc697343145ddba469ebf (patch) | |
tree | 03d7aeeb4195a2229539a417e6a373db0bf35c65 /pyaggr3g470r/models.py | |
parent | MongoEngine list slicing. (diff) | |
download | newspipe-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.py | 2 |
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): |