aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-24 13:30:11 +0200
commit106d83ea8157c6f14a399716381ddf07ac21a024 (patch)
treefab0f6c0fa0dd449b52242377da17c97e0bb8168 /src/web/models
parentUpdated deprecated code. (diff)
downloadnewspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.gz
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.tar.bz2
newspipe-106d83ea8157c6f14a399716381ddf07ac21a024.zip
add the possibility to mak a feed as private
Diffstat (limited to 'src/web/models')
-rw-r--r--src/web/models/feed.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/models/feed.py b/src/web/models/feed.py
index 362a0d67..7bf2ace3 100644
--- a/src/web/models/feed.py
+++ b/src/web/models/feed.py
@@ -45,6 +45,7 @@ class Feed(db.Model, RightMixin):
enabled = db.Column(db.Boolean(), default=True)
created_date = db.Column(db.DateTime(), default=datetime.utcnow)
filters = db.Column(db.PickleType, default=[])
+ private = db.Column(db.Boolean(), default=False)
# cache handling
etag = db.Column(db.String(), default="")
bgstack15