pirave / django-pagination

Automatically exported from code.google.com/p/django-pagination
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

diffrent blocks == error #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
{% block foo %}
 {% autopaginate object_list 2 %}
  {% for do something %}
     ...
  {% endfor %}
{% endblock %}
{% block bar %}
    {% paginate %}
{% endblock %}

results in errors!
Caught an exception while rendering: 'NoneType' object has no attribute
'page_range'

Maybe I'm doing something wrong.

Original issue reported on code.google.com by 0...@test2.utf.by on 24 Nov 2008 at 1:05

GoogleCodeExporter commented 8 years ago
This is a property of Django itself...there's nothing I can do about this in 
the context of a Django project.

Original comment by flo...@gmail.com on 29 Nov 2008 at 5:19