diff options
-rw-r--r-- | wqflask/wqflask/news.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/wqflask/wqflask/news.py b/wqflask/wqflask/news.py deleted file mode 100644 index e262dd51..00000000 --- a/wqflask/wqflask/news.py +++ /dev/null @@ -1,13 +0,0 @@ -from flask import g - - -class News: - - def __init__(self): - sql = """ - SELECT News.id, News.date, News.details - FROM News - order by News.date desc - """ - self.title = "GeneNetwork News" - self.newslist = g.db.execute(sql).fetchall() |