Opened 8 years ago

Last modified 8 years ago

#26595 closed Uncategorized

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

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 (last modified by shiblystory)

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.

I've created pull request: https://github.com/django/django/pull/6568

Change History (1)

comment:1 by shiblystory, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top