Re: Adding a custom admin view to the admin app listing

2007-09-19 Thread Christopher Allan Webber
Sure, we can do this, but this doesn't provide a nice application-level way of adding this to the admin listing. At the company I work for, we have over 100 websites we deploy for (and we are just starting to transition to Django). We deploy each application individually depending on a client's

Re: Adding a custom admin view to the admin app listing

2007-09-19 Thread olivier
Hi, > But I want it to be listed along with the rest of the admin listing > for that app. I may not have understood what you have in mind, but why don't you add something after the line 39 of contrib/admin/templates/index.html (or actually your copy of it): {% for model in app.models %} ...

Adding a custom admin view to the admin app listing

2007-09-19 Thread Christopher Allan Webber
Hello, For a project we're working on, we need a custom view that's available only to administrators. It's not the traditional add/edit/delete stuff, and the generic admin interface doesn't cut it. That's fine, I can write my own view. (They need to upload a CSV file, which adds and updates so