#16173: manager.get on foreign key fields (related fields) -------------------------------------+------------------------------------- Reporter: nitinbhide@… | Owner: tobias Type: | Status: assigned Cleanup/optimization | Version: SVN Component: Database layer | Resolution: (models, ORM) | Triage Stage: Accepted Severity: Normal | Needs documentation: 0 Keywords: manager foreignkey | Patch needs improvement: 0 Has patch: 0 | UI/UX: 0 Needs tests: 0 | Easy pickings: 1 | -------------------------------------+------------------------------------- Changes (by fhahn):
* cc: fhahn (added) * needs_tests: 1 => 0 Comment: I've updated the patch to work with r17591 and the test should work correctly. But the manager's __get__ uses Manager.get_queryset() now and I'm not sure if returning a Manager instance (rel_mgr.db_manager(db)) instead of a Queryset (rel_mgr.using(db)) is acceptable. -- Ticket URL: <https://code.djangoproject.com/ticket/16173#comment:7> 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.