File: __init__.py

package info (click to toggle)
frozen-flask 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: python: 808; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
    flask_frozen.test_app.admin
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Test application Frozen-Flask

    :copyright: (c) 2010-2012 by Simon Sapin.
    :license: BSD, see LICENSE for more details.

"""

from flask import Blueprint, render_template

admin_blueprint = Blueprint(
    'admin', __name__, static_folder='admin_static', static_url_path='/css',
    template_folder='templates')


@admin_blueprint.route('/')
def index():
    return render_template('admin.html')