diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2019-06-18 20:38:21 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-19 08:41:51 +0200 |
| commit | c3a9d3050ccfb2b685a4a37d4028b6bc5ca5565e (patch) | |
| tree | 5bf4f0648175627750eb49668a109c1bc87ddebd /docs | |
| parent | 1ce04289f12d0e385d927645d013c9e02eab4c8f (diff) | |
[2.2.x] Fixed typos in signals and custom management commands docs.
Backport of a7038adbd02c916315b16939b835f021c2ee8880 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 2 | ||||
| -rw-r--r-- | docs/ref/signals.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 0e9608bc9c..7524463fb5 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -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: diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 917b46dc46..f2f0ab4257 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -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`` |
