As part of the upgrade, you'll have to modify your custom templates to use
the new template tags.

I have some notes here -
http://www.satchmoproject.com/docs/dev/release-notes-0-9-3.html#migration-notes

-Chris

On Mon, Apr 9, 2012 at 5:48 PM, Darren Hollenbeck <[email protected]>wrote:

> Tried upgrading sorl thumbnail to latest per the statement on
> http://www.satchmoproject.com/docs/dev/requirements.html that Satchmo
> 0.9.3 supported it.
>
> I get the following error on the index page:
>
>
>  Template error:
>> In template
>> /usr/lib/python2.6/site-packages/Satchmo-0.9.3-py2.6.egg/satchmo_store/shop/templates/shop/index.html,
>> error at line 22
>>    Invalid block tag: 'endif', expected 'empty' or 'endthumbnail'
>>    12 :
>>    13 : {% if all_products_list %}
>>    14 :     <h4>{% trans "Featured Items" %}</h4>
>>    15 :     {% for product in all_products_list %}
>>    16 :             <div class = "productImage">
>>    17 :            {% if product.main_image %}
>>    18 :               <center>
>>    19 :               {% thumbnail product.main_image.picture 85x85 as
>> image %}
>>    20 :               <a href="{{ product.get_absolute_url }}"><img
>> src="{{ image }}" width="{{ image.width }}" height="{{ image.height }}"
>> /></a>
>>    21 :               </center>
>>    22 :             {% endif %}
>>    23 :             <p><a href="{{ product.get_absolute_url }}">{{
>> product.translated_name }}</a></p>
>>    24 :         </div>
>>    25 :     {% endfor %}
>>    26 : {% endif %}
>>    27 :
>>    28 :     {% if is_paginated %}
>>    29 :     <div id = "pagination">
>>    30 :     <ul>
>>    31 :         {% if page_obj.has_previous %}
>>    32 :             <li> <a
>> href="{{shop_base}}/?page={{page_obj.previous_page_number}}">{% trans
>> "Previous" %}</a> </li>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/satchmo-users/-/a64FmwsIVMYJ.
> 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.
>

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