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 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 )
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
Note:
See TracTickets
for help on using tickets.