Alternative names for app

This commit is contained in:
Armin Ronacher 2011-06-05 14:37:57 +02:00
parent 10104e98cf
commit 17d1ade6b9

View file

@ -46,7 +46,7 @@ _mod_route_re = re.compile(r'([a-zA-Z0-9_][a-zA-Z0-9_]*)\.route')
_blueprint_related = [
(re.compile(r'request\.module'), 'request.blueprint'),
(re.compile(r'register_module'), 'register_blueprint'),
(re.compile(r'app\.modules'), 'app.blueprints')
(re.compile(r'(app|application)\.modules'), '\\1.blueprints')
]