Hi,

I want to extend default template for /admin/photosite/photo/some_id/.
Basically, I want to display, only when editing, a thumbnail of the
photo with JCrop widget for cropping. How can I access the 'image'
field of the edited record? I think I need not to write a custom view
here, since I only want to display some extra fancy markup.

What I have so far:

{% extends "admin/change_form.html" %}
{% load i18n %}

{% block after_field_sets %}
    {% if not add %}
        ... the image field should be printed here ...
    {% endif %}
{% endblock %}

Thanks in advance.

Regards,
Piotr
--~--~---------~--~----~------------~-------~--~----~
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