Added a testcase for the improved module support

This commit is contained in:
Armin Ronacher 2010-07-04 14:12:29 +02:00
parent 665fa2a32b
commit d67a36cbdb
9 changed files with 45 additions and 2 deletions

View file

@ -0,0 +1,9 @@
from flask import Module, render_template
admin = Module(__name__, url_prefix='/admin')
@admin.route('/')
def index():
return render_template('admin/index.html')

View file

@ -0,0 +1 @@
Admin File

View file

@ -0,0 +1 @@
Hello from the Admin