>
> <div class="pagination">
>>
>> <span class="step-links">
>>
>> {% if object_list.has_previous %}
>>
>> <a href="?{{page_request_var}}=1">« first</a>
>>
>> <a href="?{{page_request_var }}={{
>>> object_list.previous_page_number }}{% if request.GET.q%}&q={{request.GET.q
>>> }}{% endif %}">previous</a>
>>
>> {% endif %}
>>
>>
>>> <span class="current">
>>
>> Page {{ object_list.number }} of {{
>>> object_list.paginator.num_pages }}.
>>
>> </span>
>>
>>
>>> {% if object_list.has_next %}
>>
>> <a href="?{{page_request_var}}={{
>>> object_list.next_page_number }}{% if request.GET.q%}&q={{request.GET.q }}{%
>>> endif %}">next</a>
>>
>> <a href="?{{page_request_var}}={{
>>> object_list.paginator.num_pages }}">last »</a>
>>
>> {% endif %}
>>
>> </span>
>>
>> </div>
>>
>>
On Wednesday, September 25, 2019 at 2:39:16 PM UTC+3, laya Mahmoudi wrote:
>
> Would you send your html codes relating to pagination
>
> در تاریخ چهارشنبه ۲۵ سپتامبر ۲۰۱۹، ۱۵:۰۳ leb dev <[email protected]>
> نوشت:
>
>> i tried your answer and display an error :
>>
>> That page number is not an integer
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/0323b126-726e-4889-beee-b68988b1a3f1%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/django-users/0323b126-726e-4889-beee-b68988b1a3f1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/0ad0f775-92f0-4621-b491-5d97a7f9270a%40googlegroups.com.