#19756 closed Uncategorized (fixed)
.add or .create on ManyToManyField doc page
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?
Note:
See TracTickets
for help on using tickets.
In 43efefae692729925c0f75c55e93bd1f33f42bfd: