Closed pigletto closed 8 years ago
Currently we're using links like:
<a class="ajax-link" href="{% url 'lfs_orders_inline' %}?page=1">
and these are being sent with POST. There are two issues:
It doesn't work with server side construct like: page = (request.POST if request.method == 'POST' else request.GET).get("page", 1)
page = (request.POST if request.method == 'POST' else request.GET).get("page", 1)
that is used instead of request.REQUEST in older Django versions
My proposal is to just use $.get
Agreed! Please merge.
Currently we're using links like:
and these are being sent with POST. There are two issues:
It doesn't work with server side construct like:
page = (request.POST if request.method == 'POST' else request.GET).get("page", 1)
that is used instead of request.REQUEST in older Django versions
My proposal is to just use $.get