Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19756 closed Uncategorized (fixed)

.add or .create on ManyToManyField doc page

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

https://docs.djangoproject.com/en/1.4/topics/db/examples/many_to_many/

"Add a Publication directly via publications.add by using keyword arguments:

new_publication = a2.publications.create(title='Highlights for Children')"

Which is it, .add or .create?

Change History (4)

comment:1 by Tim Graham <timograham@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 43efefae692729925c0f75c55e93bd1f33f42bfd:

Fixed #19756 - Corrected a ManyToMany example and added some links and markup.

comment:2 by Tim Graham <timograham@…>, 12 years ago

In a81363d85accfe09fe6885b255355dfb108e25af:

[1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.

Backport of 43efefae69 from master

comment:3 by Tim Graham <timograham@…>, 12 years ago

In 056b2b5f65e6b12c609dbd064cbe1e44a8730bf7:

[1.4.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.

Backport of 43efefae69 from master

comment:4 by Tim Graham <timograham@…>, 12 years ago

In a81363d85accfe09fe6885b255355dfb108e25af:

[1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.

Backport of 43efefae69 from master

Note: See TracTickets for help on using tickets.
Back to Top