Opened 9 years ago

Last modified 9 years ago

#26595 closed Uncategorized

w.save() is called after w = r.waiter_set.create(name='Joe') in one-to-one relationship — at Initial Version

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

Description

https://docs.djangoproject.com/en/1.9/topics/db/examples/one_to_one/

>>> w = r.waiter_set.create(name='Joe')
>>> w.save()

w.save() should not be called.

Can someone please edit this?

Change History (0)

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