On Wed, Aug 10, 2011 at 11:56 AM, Subhranath Chunder
<subhran...@gmail.com> wrote:
> You can either override a particular, or give a completely alternative
> change_list page.
> For your case, overriding seems to be a better option to me
> https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates

Errrr ... I do not want to override. To be precise I want a
button/link beside the "Add <modelname>" in the change_list which,
when clicked, opens a new page, extending the base-admin template,
taking the current filters used in the change_list and displays the
same data in a different layout, using a different template. Perhaps
I'm not understanding what you're saying, but I need the standard
change_list as well as the alternative one.

But thanks for your help. I see you're very active on the list today.
Very good :-)

Thomas


> If you are going for new change_list template
> https://docs.djangoproject.com/en/dev/ref/contrib/admin/#custom-template-options
>
> On Wed, Aug 10, 2011 at 2:49 PM, Thomas Weholt <thomas.weh...@gmail.com>
> wrote:
>>
>> Hmmm ... Not sure how to do that. You could say I want an alternative
>> change_list page, but not by overriding or extending the existing
>> default one.
>>
>> Do you know of any example or documentation on how to achive this?
>>
>> Anyway, thanks for your input :-)
>>
>> Regards,
>> Thomas
>>
>> On Wed, Aug 10, 2011 at 11:07 AM, Subhranath Chunder
>> <subhran...@gmail.com> wrote:
>> > Yes, you can do that. You would have to override the default
>> > change_view_template. And if required, then probably the
>> > changelist_view()
>> > too.
>> >
>> > On Wed, Aug 10, 2011 at 2:28 PM, Thomas Weholt <thomas.weh...@gmail.com>
>> > wrote:
>> >>
>> >> Is it possible to keep the filtering done in an admin change_list in a
>> >> custom page? For instance, I got a app showing photos where you can
>> >> filter on camera, width, height, exif-date, iso speed, exposure etc
>> >> and the admin makes filtering my data very easy using a custom
>> >> AdminModel. My filter shows up on the right side of the page. But I
>> >> want to have a custom page for displaying the actual photos using the
>> >> same filter set in the change_list page. Is this possible?
>> >>
>> >> --
>> >> Mvh/Best regards,
>> >> Thomas Weholt
>> >> http://www.weholt.org
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "Django users" group.
>> >> To post to this group, send email to django-users@googlegroups.com.
>> >> To unsubscribe from this group, send email to
>> >> django-users+unsubscr...@googlegroups.com.
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/django-users?hl=en.
>> >>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Django users" group.
>> > To post to this group, send email to django-users@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > django-users+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/django-users?hl=en.
>> >
>>
>>
>>
>> --
>> Mvh/Best regards,
>> Thomas Weholt
>> http://www.weholt.org
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to