Re: Simplify admin template overrides

2006-04-16 Thread Rudolph
It would be nice if there was a simple way to include a bit of XHTML in the list-view just above the list. That way one could include links like "download CSV-file", "show statistics" or "help". Or one could include a bit of documentation like 'These categories are used to group your images.' Som

Re: Simplify admin template overrides

2006-04-14 Thread Joseph Kocherhans
On 4/14/06, oggie rob <[EMAIL PROTECTED]> wrote: > > I would rather see some ability to add variables when > render_to_response is hit. In other words, rather than using the > proposed mechanisms above to create a unique template, I think it would > be more usable if you were to say: > > def my_ad

Re: Simplify admin template overrides

2006-04-14 Thread James Bennett
On 4/14/06, oggie rob <[EMAIL PROTECTED]> wrote: > There was talk of processors that could possibly/probably do a cleaner > job than this - not sure where these stand. http://www.djangoproject.com/documentation/settings/#template-context-processors -- "May the forces of evil become confused on t

Re: Simplify admin template overrides

2006-04-13 Thread oggie rob
I would rather see some ability to add variables when render_to_response is hit. In other words, rather than using the proposed mechanisms above to create a unique template, I think it would be more usable if you were to say: def my_admin_override(request, ...): context, template_list = do_mos

Simplify admin template overrides

2006-04-13 Thread Joseph Kocherhans
If someone wants to make a small customization to the admin templates, they have to override the whole template. This can be very frustrating if you just want to change something like the title, or userlinks for one page. You can't just extend admin/change_form as admin/myapp/mymodel/change_form,