I can't find a mistake :-(( {{ autopaginate product 2 }} is working,
because of only two products I see, but {{ paginate }} is NOT, its
returns just nothing
Here my template:
{% load i18n %}
{% load pagination_tags %}
{% autopaginate product 2 %}
<table class="products">
    <thead>
        <tr><th colspan="6"><input type="checkbox"
name="chkProductIds" id="chk3"  value="0" /> <a href="#">Delete All</
a> | <a href="#">Another Action</a>
        <div class="pagination">{{ paginate }}</div>
        </th></tr>
    </thead>
    <tbody>
        {% for p in product %}
        <tr id="prb_{{ p.id }}">
            <td><input type="checkbox"
name="chkProductIds[{{ p.id }}]" id="chk{{ p.id }}"  value="1" /></td>
            <td><a href="/account/sell/product/details/
{{ pr.id }}/"><img src="{{ p.get_title_image.image.url }}" width="70"
height="70" alt="product preview" /></a></td>
            <td class="productname"><a href="/account/sell/product/
edit">{{ p.name_english }}</a></td>
            <td>{% if p.fob_price_from %} {{ p.fob_price_from }} {%
else %} - {% endif %}</td>
            <td>{% if p.min_order_quantity %}
{{ p.min_order_quantity }} {% else %} - {% endif %}</td>
            <td><a href="#">{% trans "Edit" %}</a> <a href="#"
class="pr_delete" onclick="pr_delete({{ p.id }}); return false;">{%
trans "Delete" %}</a></td>
        </tr>
        {% endfor %}
    </tbody>
</table>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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