Re: Adding a dashboard to admin

2009-12-01 Thread Bill Freeman
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

Re: Adding a dashboard to admin

2009-12-01 Thread Brian Neal
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

Re: Adding a dashboard to admin

2009-12-01 Thread Bill Freeman
> > 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

Re: Adding a dashboard to admin

2009-12-01 Thread patrickk
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:

Adding a dashboard to admin

2009-11-30 Thread Brian Neal
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