Hi,
I'm fairly comfortable with Django and Python but this is my first
delve into Satchmo, so apologies if I've missed something obvious.
I've just installed Satchmo following the instructions here - "http://
www.satchmoproject.com/docs/dev/quickstart.html" and I'm following the
tutorial here "http://www.satchmoproject.com/docs/dev/tutorial1.html".
Unfortunately, for every template I've so far accessed ie index.html
and product.html, I'm getting the following error:
Invalid block tag: 'endfor', expected 'empty' or 'endthumbnail'
where the block in question is something like:
{% if product.main_image %}
<center>
{% thumbnail product.main_image.picture 85x85 as image
%}
<a href="{{ product.get_absolute_url }}"><img
src="{{ image }}" width="{{ image.width }}"
height="{{ image.height }}" /></a>
</center>
{% endif %}
Obviously I can fix this by adding an {% endthumbnail %} end tag after
the href, but before doing so I wanted to check the error wasn't a
result of not having set something up correctly.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.