aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 14:16:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 14:16:58 +0200
commit0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761 (patch)
tree5212bc56c32c7f307ae642f877ab01aa70d43230 /src/web/models
parentUpdated CHANGELOG. (diff)
downloadnewspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.tar.gz
newspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.tar.bz2
newspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.zip
Fetch feeds only if the user do not want to use its own crawler.
Diffstat (limited to 'src/web/models')
-rw-r--r--src/web/models/user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/models/user.py b/src/web/models/user.py
index 59c4ad38..2b069728 100644
--- a/src/web/models/user.py
+++ b/src/web/models/user.py
@@ -48,6 +48,8 @@ class User(db.Model, UserMixin, RightMixin):
email = db.Column(db.String(254), index=True, unique=True)
pwdhash = db.Column(db.String())
+ automatic_crawling = db.Column(db.Boolean(), default=True)
+
is_public_profile = db.Column(db.Boolean(), default=False)
webpage = db.Column(db.String(), default="")
twitter = db.Column(db.String(), default="")
bgstack15