I haven't been actively following sorl development lately but it looks like
they are pushing out a new version that has this new syntax.

I currently use version 3.2.5 and it still has the same syntax and should
work unmodified.

Anyone have experience with the newer sorl code? Looks like we're going to
have to figure out what we want to do on a go forward basis.

-Chris

On Sat, Nov 27, 2010 at 5:44 AM, mdp <[email protected]> wrote:

> 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]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

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

Reply via email to