aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-07 21:30:45 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-07 21:30:45 +0200
commite3499ba1dab00c7f6fac834dcb8dbd5379e7f921 (patch)
treed83ea2649cebc460be0b654af6021723f1842abd /pyaggr3g470r/models.py
parentAdded 'warning' CSS class for table rows of disabled feeds. (diff)
downloadnewspipe-e3499ba1dab00c7f6fac834dcb8dbd5379e7f921.tar.gz
newspipe-e3499ba1dab00c7f6fac834dcb8dbd5379e7f921.tar.bz2
newspipe-e3499ba1dab00c7f6fac834dcb8dbd5379e7f921.zip
It is now possible to add new feeds with a bookmarklet.
Diffstat (limited to 'pyaggr3g470r/models.py')
-rw-r--r--pyaggr3g470r/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 63d547a9..5139c1d4 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -99,10 +99,10 @@ class Feed(db.Model):
Represent a station.
"""
id = db.Column(db.Integer, primary_key = True)
- title = db.Column(db.String(), default="New station")
+ title = db.Column(db.String(), default="No title")
description = db.Column(db.String(), default="FR")
link = db.Column(db.String())
- site_link = db.Column(db.String(), default="New station")
+ site_link = db.Column(db.String(), default="")
email_notification = db.Column(db.Boolean(), default=False)
enabled = db.Column(db.Boolean(), default=True)
created_date = db.Column(db.DateTime(), default=datetime.now)
bgstack15