#6010: Extra context for newforms admin views
-----------------------------------------------------+----------------------
Reporter: Petr Marhoun <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component:
Admin interface
Version: newforms-admin | Resolution:
Keywords: | Stage:
Design decision needed
Has_patch: 1 | Needs_docs: 1
Needs_tests: 1 | Needs_better_patch: 0
-----------------------------------------------------+----------------------
Changes (by Lllama <[EMAIL PROTECTED]>):
* keywords: nfa-someday =>
Comment:
I'd just like to add my vote for this patch. At the moment pumping extra
variables into the admin's index view is kinda non-triv. Either you need
to replace the index method with your own (using new.instancemethod magic)
or subclass AdminSite (which requires reregistering auth models etc).
I'd also say that the needs_docs and needs_tests flags could be a little
premature given that the branch isn't really documented and there are no
tests for AdminSites anyway. (That's not a criticism, just an
observation).
I am removing the nfa-someday tag, as I think that this is a useful patch
in line with the [wiki:NewformsAdminBranch aims of the branch]. I quote:
{{{
Give developers extra hooks into the admin-site functionality. (Yes, this
is a broad goal. More examples are forthcoming.)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/6010#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---