#7510: ModelAdmin should be able to use a non-default manager
-------------------------------------------+--------------------------------
Reporter: tom | Owner: Alex
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by SmileyChris):
* needs_docs: 0 => 1
* stage: Design decision needed => Accepted
* milestone: post-1.0 =>
Comment:
scel is correct that the current documentation is out of date.
brosner agrees that this is issue valid.
A small suggestion for the patch: just set `model_manager = None` as a
`ModelAdmin` class attribute, then you don't have to worry about `hasattr`
and it's a bit more of an obvious API attribute (`model_admin_manager`
seems overly verbose - of course it's for admin ;))
--
Ticket URL: <http://code.djangoproject.com/ticket/7510#comment:9>
Django <http://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
-~----------~----~----~----~------~----~------~--~---