aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-07-03 15:27:36 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-07-03 15:27:36 +0200
commit7f3c9790fcbe513436cb515b31b4ad81f2d10336 (patch)
treeb621c1e4cbd1698bfcf52695e3cc8b547cfd5e9e /pyaggr3g470r/models
parentMinor improvements to the edit feed forms. (diff)
parentfixing bug on reset link for feeds and hidding feed title for eXtraSmall device (diff)
downloadnewspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.tar.gz
newspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.tar.bz2
newspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.zip
Merged in jaesivsm/pyaggr3g470r (pull request #15)
the icon feature
Diffstat (limited to 'pyaggr3g470r/models')
-rw-r--r--pyaggr3g470r/models/feed.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyaggr3g470r/models/feed.py b/pyaggr3g470r/models/feed.py
index 793642fb..75e55df1 100644
--- a/pyaggr3g470r/models/feed.py
+++ b/pyaggr3g470r/models/feed.py
@@ -43,6 +43,7 @@ class Feed(db.Model):
enabled = db.Column(db.Boolean(), default=True)
created_date = db.Column(db.DateTime(), default=datetime.now)
filters = db.Column(db.PickleType, default=[])
+ icon = db.Column(db.String(), default="")
# cache handling
etag = db.Column(db.String(), default="")
@@ -70,6 +71,7 @@ class Feed(db.Model):
"link": self.link,
"site_link": self.site_link,
"etag": self.etag,
+ "icon": self.icon,
"error_count": self.error_count,
"last_modified": self.last_modified,
"last_retrieved": self.last_retrieved}
bgstack15