Re: Creating Custom Admin Views

2008-04-01 Thread oliver
This I think contains the main views. http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/views/main.py line 769 def change_list(request, app_label, model_name): seems to be the view you need to copy and every thing that is attached to it. I have not gotten for in my

Re: Creating Custom Admin Views

2008-04-01 Thread Bernd
no, I didn't found any answers :-( Could you send me the source code you copied from the django admin? I also looked into the django-admin source code, but I hadn't enough time to look deeper into this topic. Is there a possibility in newforms-admin to solve this problem? On Tue, 2008-04-01 at

Re: Creating Custom Admin Views

2008-04-01 Thread oliver
have you found any answers to this? as i am trying to do the same thing, I just want to change the data set that is send to the default template. I have been looking in the srouce code and am trying to copy what django admin does into my custom view, but it would be nice if there was an easier

Re: Creating Custom Admin Views

2008-03-31 Thread Brot
does nobody have some helpful input? On 30 Mrz., 17:13, Bernd <[EMAIL PROTECTED]> wrote: > Hello, > > I followed the documentationhttp://www.djangobook.com/en/1.0/chapter17/ > in the section "Creating Custom Admin Views". I try to override the > change_list.html f

Creating Custom Admin Views

2008-03-30 Thread Bernd
Hello, I followed the documentation http://www.djangobook.com/en/1.0/chapter17/ in the section "Creating Custom Admin Views". I try to override the change_list.html for one of my models. I only would like to extend the change_list for the model with some extra context data. All of