#15059: Additional Documentation for the objects in the admin templates
--------------------------------------+-------------------------------------
Reporter: mlakewood | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.2
Keywords: admin templates override | Stage: Unreviewed
Has_patch: 0 |
--------------------------------------+-------------------------------------
Hi,
I've being trying to override the admin template for change_list for the
last couple of days. As I was working through it the documentation was
great up until the point where I needed to access some data that was being
displayed on the page. After that I really struggled on how and where to
get the data from. In the end somebody mentioned that I could do
{{cl.get_query_set()}}, and then just by chance I worked out that you
could do {{cl.result_list}} to get the filtered list.
It would be really helpful if in the documentation for over riding the
admin templates there was an explanation of how to get at the data. As
from my experience its one of the first things that I wanted to do to the
admin interface.
Cheers
--
Ticket URL: <http://code.djangoproject.com/ticket/15059>
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.