@@ -53,10 +53,10 @@ for django commands we need to register our completion logic for Django manage s
5353the shell. This process has two phases:
5454
55551. Ensure that your shell is configured to support completions.
56- 2. Use the :mod: ` ~django_typer.management.commands. shellcompletion ` command to install the
57- completion hook for your Django manage script. This usually entails adding a specifically
58- named script to a certain directory or adding lines to an existing profile. The
59- :mod: ` ~django_typer.management.commands.shellcompletion ` command will handle this for you.
56+ 2. Use the :django-admin: ` shellcompletion ` command to install the completion hook for your Django
57+ manage script. This usually entails adding a specifically named script to a certain directory or
58+ adding lines to an existing profile. The :django-admin: ` shellcompletion ` command will handle this
59+ for you.
6060
6161
6262The goal of this guide is not to be an exhaustive list of how to enable completions for each
@@ -126,9 +126,8 @@ or have solutions, please `report them on our discussions page <https://github.c
126126Install the Completion Hook
127127---------------------------
128128
129- django-typer _ comes with a management command called
130- :mod: `~django_typer.management.commands.shellcompletion `. To install completions for your Django _
131- project simply run the install command:
129+ django-typer _ comes with a management command called :django-admin: `shellcompletion `. To install
130+ completions for your Django _ project simply run the install command:
132131
133132.. code-block :: bash
134133
@@ -145,8 +144,7 @@ will make and ask for permission before proceeding. To skip the prompt use** ``-
145144
146145The installation script should be able to automatically detect your shell and install the
147146appropriate scripts. If it is unable to do so you may force it to install for a specific shell by
148- passing the shell name as an argument. Refer to the
149- :mod: `~django_typer.management.commands.shellcompletion ` for details.
147+ passing the shell name as an argument. Refer to the :django-admin: `shellcompletion ` for details.
150148
151149**After installation you will need to restart your shell or source the appropriate rc file. **
152150
0 commit comments