Update
This commit is contained in:
@@ -11,6 +11,11 @@ def pages(page):
|
||||
"""
|
||||
pagedata = {'title': 'Статьи - ' + app.config['TITLE']}
|
||||
|
||||
pages = models.db_session.query(
|
||||
models.Page
|
||||
).all()
|
||||
pagedata['pages'] = pages
|
||||
|
||||
pagedata['pagination'] = {
|
||||
"page": page,
|
||||
"per_page": app.config['ITEMS_ON_PAGE'],
|
||||
|
||||
Reference in New Issue
Block a user