#16173: manager.get on foreign key fields (related fields)
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  nitinbhide@…                       |         Status:  new
                   Type:             |      Component:  Database layer
  Cleanup/optimization               |  (models, ORM)
              Milestone:             |       Severity:  Normal
                Version:  SVN        |       Keywords:  manager foreignkey
             Resolution:             |      Has patch:  0
           Triage Stage:  Accepted   |    Needs tests:  1
    Needs documentation:  0          |  Easy pickings:  1
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by mtredinnick):

 The test looks like it's going along the right lines. I would suggest to
 not be so fancy with subclassed models (forcing us all to remember the
 default manager inheritance rules, which are very tricky). Just make a
 single model with a relation and explicit default manager. Simpler is
 better for tests like this so that you're only testing related managers,
 not related managers and default manager in inherited situtations.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16173#comment:5>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to