2018-08-31 17:48:29 +03:00
|
|
|
__author__ = 'RemiZOffAlex'
|
|
|
|
|
__copyright__ = '(c) RemiZOffAlex'
|
|
|
|
|
__license__ = 'MIT'
|
|
|
|
|
__email__ = 'remizoffalex@mail.ru'
|
2019-04-26 15:38:41 +03:00
|
|
|
__url__ = 'https://remizoffalex.ru'
|
2018-08-31 17:48:29 +03:00
|
|
|
|
|
|
|
|
from flask import render_template
|
|
|
|
|
|
|
|
|
|
from .. import app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/users')
|
|
|
|
|
def users():
|
|
|
|
|
"""
|
|
|
|
|
Список пользователей
|
|
|
|
|
"""
|
|
|
|
|
pagedata = {}
|
|
|
|
|
pagedata['title'] = 'Список пользователей - ' + app.config['TITLE']
|
|
|
|
|
body = render_template('users.html', pagedata=pagedata)
|
|
|
|
|
return body
|