#14270: ManyToMany manager classes should be cached
-------------------------------------+-------------------------------------
               Reporter:  Alex       |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |      Component:  Database layer
              Milestone:             |  (models, ORM)
                Version:  1.2        |       Severity:  Normal
             Resolution:             |       Keywords:
           Triage Stage:  Accepted   |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by mrmachine):

 This change has the added benefit of exposing the related instance on the
 related objects manager for reverse relationships, which makes it possible
 to implement a userland `update_or_create()`, for example, and other
 methods that might need access to the related instance to work correctly
 or efficiently.

 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/14270#comment:4>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to