Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in signals and custom management commands docs. #11487

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/howto/custom-management-commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The new custom command can be called using ``python manage.py closepoll
The ``handle()`` method takes one or more ``poll_ids`` and sets ``poll.opened``
to ``False`` for each one. If the user referenced any nonexistent polls, a
:exc:`CommandError` is raised. The ``poll.opened`` attribute does not exist in
the :doc:`tutorial</intro/tutorial01>` and was added to
the :doc:`tutorial</intro/tutorial02>` and was added to
``polls.models.Question`` for this example.

.. _custom-commands-options:
Expand Down
4 changes: 2 additions & 2 deletions docs/ref/signals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ model system.

Model signals ``sender`` model can be lazily referenced when connecting a
receiver by specifying its full application label. For example, an
``Answer`` model defined in the ``polls`` application could be referenced
as ``'polls.Answer'``. This sort of reference can be quite handy when
``Question`` model defined in the ``polls`` application could be referenced
as ``'polls.Question'``. This sort of reference can be quite handy when
dealing with circular import dependencies and swappable models.

``pre_init``
Expand Down