Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.

This commit is contained in:
Tim Graham 2018-07-24 16:02:35 -04:00
parent 2a74ceb5f3
commit cef8f6a61b
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ API facilities. Note that if you are using :ref:`an intermediate model
manager's methods are disabled, so some of these examples won't work with such manager's methods are disabled, so some of these examples won't work with such
models. models.
Create a couple of ``Publications``:: Create a few ``Publications``::
>>> p1 = Publication(title='The Python Journal') >>> p1 = Publication(title='The Python Journal')
>>> p1.save() >>> p1.save()
@ -68,7 +68,7 @@ Associate the ``Article`` with a ``Publication``::
>>> a1.publications.add(p1) >>> a1.publications.add(p1)
Create another ``Article``, and set it to appear in both ``Publications``:: Create another ``Article``, and set it to appear in the ``Publications``::
>>> a2 = Article(headline='NASA uses Python') >>> a2 = Article(headline='NASA uses Python')
>>> a2.save() >>> a2.save()