aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models/article.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/models/article.py')
-rw-r--r--pyaggr3g470r/models/article.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyaggr3g470r/models/article.py b/pyaggr3g470r/models/article.py
index 0466bc35..f8f9d2d8 100644
--- a/pyaggr3g470r/models/article.py
+++ b/pyaggr3g470r/models/article.py
@@ -27,12 +27,10 @@ __copyright__ = "Copyright (c) Cedric Bonhomme"
__license__ = "GPLv3"
import json
+from bootstrap import db
from datetime import datetime
-from flask import g
from sqlalchemy import asc, desc
-db = g.db
-
class Article(db.Model):
"""
bgstack15