mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
330 B
19 lines
330 B
from __future__ import absolute_import, print_function |
|
|
|
from flask import Flask |
|
|
|
|
|
def create_app(): |
|
return Flask('app') |
|
|
|
|
|
def create_app2(foo, bar): |
|
return Flask('_'.join(['app2', foo, bar])) |
|
|
|
|
|
def create_app3(foo, script_info): |
|
return Flask('_'.join(['app3', foo, script_info.data['test']])) |
|
|
|
|
|
def no_app(): |
|
pass
|
|
|