Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Sometimes the {% paginate using 'mypath\pagination.html' %} was no useful #18

Open
nickliqian opened this issue Dec 27, 2017 · 2 comments

Comments

@nickliqian
Copy link

When I used the function like {% paginate using 'mypath\pagination.html' %}.
I used the same setting and code,it worked on my windows10 compute, but on my Ubuntu system compute it was no useful.
I used below code, please review, thanks very much!

...
{% block content %}
    {% autopaginate object_list 5 as object_list_list %}
    {% for object in object_list_list %}
        ...
    {% endfor %}
    <div class="paginate">
        {% paginate using 'pagination\article\pagination.html' %}  # This DTL can't work
    <div>
{% endblock content %}
...
@pydanny
Copy link
Owner

pydanny commented Dec 28, 2017

Can you install the just-release 2.3.1 and try again?

https://pypi.python.org/pypi/dj-pagination

@nickliqian
Copy link
Author

I will check my package version after the New Year's day (The pc is in office). Thank you very much for your reply!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants