I have a url http://localhost/user/?hash={hash value generated}
I need to configure urls.py so that any URL of this form is recognized and does not give an error.
I have currently written urls.py as
url(r'^user/(?P<hash>\w+)/$', 'Myapp.views.createnewpass'),
and this gives a 404 error for a valid hash.
How can I fix this error?
Thanks in advance!
source
share