Compare commits
3 Commits
e8141ad8f7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
8b92e74cfe
|
|||
|
12b8137f91
|
|||
|
ece662f655
|
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "quart-imp"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1-rc1"
|
||||
description = 'A Quart auto importer that allows your Quart apps to grow big.'
|
||||
authors = [{ name = "David Carmichael", email = "david@uilix.com" }]
|
||||
readme = "README.md"
|
||||
|
||||
@@ -19,12 +19,11 @@ def create_app():
|
||||
init_session={{"logged_in": False}},
|
||||
))
|
||||
|
||||
imp.import_extensions("extensions")
|
||||
imp.import_app_resources()
|
||||
imp.import_blueprints("blueprints")
|
||||
imp.import_models("models")
|
||||
|
||||
sql.register_module(app)
|
||||
|
||||
return app
|
||||
"""
|
||||
|
||||
@@ -45,6 +44,7 @@ def create_app():
|
||||
app_instance=app
|
||||
)
|
||||
|
||||
imp.import_extensions("extensions")
|
||||
imp.init_app(app, ImpConfig())
|
||||
imp.import_app_resources()
|
||||
imp.import_blueprint("www")
|
||||
|
||||
Reference in New Issue
Block a user