1👍
You should do something like this:
url(r'^clues/$')
def clues(request):
if request.method == 'GET':
page = request.GET.get('page')
...
all GET info passed after ‘?’ like your page ‘?page=n’ stored in request.GET dictionary
0👍
My url was bad. I found the docs to be a bit confusing. My url needs to be just
url(r'^clues/$', views.ClueIndexView.as_view()
Works now.
- [Answer]-Django query get common items based on attribute
- [Answer]-Unable to get post data in a multipleChoiceField with django
Source:stackexchange.com