24 lines
537 B
Python
24 lines
537 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: UTF-8 -*-
|
|
|
|
__author__ = 'RemiZOffAlex'
|
|
__copyright__ = '(c) RemiZOffAlex'
|
|
__license__ = 'MIT'
|
|
__email__ = 'remizoffalex@mail.ru'
|
|
__url__ = 'http://remizoffalex.ru'
|
|
|
|
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
|