docs: update (#194)

This commit is contained in:
pycook
2023-10-10 16:53:30 +08:00
committed by GitHub
parent ba519a2c43
commit 5aa36daaac
3 changed files with 7 additions and 14 deletions

View File

@@ -76,15 +76,6 @@ class MyJSONEncoder(DefaultJSONProvider):
return o
def create_acl_app(config_object="settings"):
app = Flask(__name__.split(".")[0])
app.config.from_object(config_object)
register_extensions(app)
return app
def create_app(config_object="settings"):
"""Create application factory, as explained here: http://flask.pocoo.org/docs/patterns/appfactories/.