On Tue, Dec 1, 2009 at 12:53 PM, Brian Neal wrote:
> On Dec 1, 10:56 am, Bill Freeman wrote:
>> > I then created my own template file in one of my TEMPLATE_DIRS called
>> > 'admin/custom_index.html" that extends 'admin/index.html'. I ended up
>> > copying the {% block content %} from the admin/in
On Dec 1, 10:56 am, Bill Freeman wrote:
> > I then created my own template file in one of my TEMPLATE_DIRS called
> > 'admin/custom_index.html" that extends 'admin/index.html'. I ended up
> > copying the {% block content %} from the admin/index.html and
> > inserting my template tag into it.
>
> I
>
> I then created my own template file in one of my TEMPLATE_DIRS called
> 'admin/custom_index.html" that extends 'admin/index.html'. I ended up
> copying the {% block content %} from the admin/index.html and
> inserting my template tag into it.
I, too, think you're going the right way. One poin
having a different admin site instance won´t help you much with this
issue. I´d say ... go with what you have. if someday you need to
customize the admin-site, create your own admin site or even subclass
djangos AdminSite.
regards,
patrick
On 1 Dez., 03:52, Brian Neal wrote:
> On my site, users
On my site, users submit content that needs to be approved before
getting published. Thus I wanted a simple "dashboard" on the admin
page to show me how many pending items from each model are waiting for
approval. I created a template tag for the dashboard. I then mulled my
options for getting this
5 matches
Mail list logo