My app handles photos and the admin shows these photos in a table-like
manner as shown in attachment.

but I want to show it as google does when you search for images; a
bunch of photos spread across the page, like here:

http://www.google.no/images?q=django+pony

but still inside the admin and hopefully by extending django by
editing change_list.html for my model. I guess the code is somehow
being generated here somewhere :

 {% if cl.formset %}
        {{ cl.formset.management_form }}
      {% endif %}

      {% block result_list %}
          {% if action_form and actions_on_top and
cl.full_result_count %}{% admin_actions %}{% endif %}
          {% result_list cl %}
          {% if action_form and actions_on_bottom and
cl.full_result_count %}{% admin_actions %}{% endif %}
      {% endblock %}

that`s from the change_list.html. But I`m not sure if I can access the
result queryset in the template somehow and add my own template code
to accomplish what I`m after.

Any hint or thoughts on how to do this would be great, and I apologize
in advance for adding the attachment.

-- 
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.

<<attachment: as_list.jpg>>

Reply via email to