#26595 closed Uncategorized (fixed)
w.save() is called after w = r.waiter_set.create(name='Joe') in one-to-one relationship
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
Change History (3)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 6ae617dc: