﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29591	ManyToManyField examples are confused about how many Publication objects there are	Marnanel Thurman	nobody	"In https://docs.djangoproject.com/en/2.0/topics/db/examples/many_to_many/ , the text says there are two Publication objects (""a couple"" and ""both""), but the code example creates three, and uses three.
{{{
Create a couple of Publications:

>>> p1 = Publication(title='The Python Journal')
>>> p1.save()
>>> p2 = Publication(title='Science News')
>>> p2.save()
>>> p3 = Publication(title='Science Weekly')
>>> p3.save()

[...]

Create another Article, and set it to appear in both Publications:

>>> a2 = Article(headline='NASA uses Python')
>>> a2.save()
>>> a2.publications.add(p1, p2)
>>> a2.publications.add(p3)
}}}"	Bug	closed	Documentation	2.0	Normal	fixed			Unreviewed	0	0	0	0	0	0
