Re: customizing admin templates

2006-08-01 Thread Wilson Miner
Try putting this in your main base_site.html template: {{ app.name|default:"Django" }} Administration I'm not sure if the app info is available in the changelist/change form contexts, but it's worth a shot. On 8/1/06, Tamara D. Snyder <[EMAIL PROTECTED]> wrote: > > I'm sorry to keep bothering t

Re: customizing admin templates

2006-08-01 Thread Joe
I'm not sure Django supports this 'out of the box'. You could try adding a template tag to the base_site.html folder. I'm pretty sure Django passes in the model name into the context of the template. You should be able to find this in the Django source (I'm not sure where off the top of my head

customizing admin templates

2006-08-01 Thread Tamara D. Snyder
I'm sorry to keep bothering the list about this, but I just can't get custom admin templates to work properly. Here's what I have right now: 2 apps, one called Blog and one called Events2 I would like it if the branding at the top of the admin page changed depending on the app that I am in.