aboutsummaryrefslogtreecommitdiff
path: root/src/web/models/article.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-26 07:04:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-26 07:04:58 +0200
commita01f162119eff58bc1148f0b8105cfec714a99f5 (patch)
tree094df2214961244e3e70402bd76ad207b2bf1167 /src/web/models/article.py
parentRenamed a function to is_authorized? (diff)
parentUpdated preprocessors for the v3 Article API. (diff)
downloadnewspipe-a01f162119eff58bc1148f0b8105cfec714a99f5.tar.gz
newspipe-a01f162119eff58bc1148f0b8105cfec714a99f5.tar.bz2
newspipe-a01f162119eff58bc1148f0b8105cfec714a99f5.zip
Merge branch 'new-api' of github.com:JARR/JARR into new-api
Diffstat (limited to 'src/web/models/article.py')
-rw-r--r--src/web/models/article.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/models/article.py b/src/web/models/article.py
index f4314d8b..0a2a082e 100644
--- a/src/web/models/article.py
+++ b/src/web/models/article.py
@@ -35,7 +35,7 @@ from web.models.right_mixin import RightMixin
class Article(db.Model, RightMixin):
"Represent an article from a feed."
id = db.Column(db.Integer(), primary_key=True)
- entry_id = db.Column(db.String())
+ entry_id = db.Column(db.String(), nullable=False)
link = db.Column(db.String())
title = db.Column(db.String())
content = db.Column(db.String())
bgstack15