No Data Is Sent With Get Method
I'm trying to use Pagination in my simple search and display application written in Django. I've followed the tutorial on Pagination from Djangoproject but there is no data being s
Solution 1:
The problem is that query parameters are not being appended to the end of the URL when you submit. I suggest you use this syntax for the form:
<form id="searchForm" method="GET" action="/search/">
<fieldset>
<input type="text"id="billSearched" name="q_word">
<br />
<input type="submit" value="{% trans "Look for" %}">
</fieldset>
</form>
This should make your URL end with ?q_word=search_term
when you submit the form.
urls.py
looks fine.
Post a Comment for "No Data Is Sent With Get Method"