shell_command
Run an interactive Python shell in the context of a given Flask application. The application will populate the default namespace of this shell according to its configuration.
This is useful for executing small snippets of management code
without having to manually configure the application.
def shell_command() - > None
Run an interactive Python shell in the context of a given Flask application. The application will populate the default namespace of this shell according to its configuration. This is useful for executing small snippets of management code without having to manually configure the application.
Returns
| Type | Description |
|---|---|
None | This function does not return a value; it starts an interactive blocking session. |