Update app factory docs (#5671)

This commit is contained in:
David Lord 2025-03-29 15:10:55 -07:00 committed by GitHub
commit 08c480b3b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -99,9 +99,9 @@ to the factory like this:
.. code-block:: text
$ flask --app hello:create_app(local_auth=True) run
$ flask --app 'hello:create_app(local_auth=True)' run
Then the ``create_app`` factory in ``myapp`` is called with the keyword
Then the ``create_app`` factory in ``hello`` is called with the keyword
argument ``local_auth=True``. See :doc:`/cli` for more detail.
Factory Improvements