diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-26 07:04:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-26 07:04:58 +0200 |
commit | a01f162119eff58bc1148f0b8105cfec714a99f5 (patch) | |
tree | 094df2214961244e3e70402bd76ad207b2bf1167 /src/web/models/article.py | |
parent | Renamed a function to is_authorized? (diff) | |
parent | Updated preprocessors for the v3 Article API. (diff) | |
download | newspipe-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.py | 2 |
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()) |