We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d5dbc commit 3af8093Copy full SHA for 3af8093
doc/source/howto.rst
@@ -449,3 +449,13 @@ Or we could render the helps for individual subcommands as well:
449
.. typer:: django_typer.management.commands.shellcompletion.Command:typer_app:install
450
:prog: ./manage.py shellcompletion
451
:width: 80
452
+
453
+You'll also need to make sure that Django is bootstrapped in your conf.py file:
454
455
+.. code-block:: python
456
+ :caption: conf.py
457
458
+ import django
459
460
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'path.to.your.settings')
461
+ django.setup()
0 commit comments