#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         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 [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?

--
Ticket URL: <https://code.djangoproject.com/ticket/26595>
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/054.15e7b3bb91e9e657dec5d07dc724b0b3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to