#26595: w.save() is called after w = r.waiter_set.create(name='Joe') in
one-to-one
relationship
-------------------------------+--------------------------------------
Reporter: shiblystory | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by shiblystory):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old 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?
New 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.
I've created pull request: https://github.com/django/django/pull/6568
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26595#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.cd975b26e89630957d9848108ff64e3f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.