Re: Page not found (404) passing two variables through URL django

2016-12-17 Thread Alex Gaynor
This list is for the development of Django, not development with Django. Please use the django-users mailing list. That said, the problem is that you have an extra "<" after the "(" in the amount capture. Alex On Fri, Dec 16, 2016 at 6:38 AM, Ravin Kohli wrote: > > this is the actual url > > h

Page not found (404) passing two variables through URL django

2016-12-17 Thread Ravin Kohli
this is the actual url http://127.0.0.1:8000/receive/kohli/50/ why is it not matching to the pattern this is my redirect call return redirect('/receive/%s/%s/' % (request.POST.get('receiver'), withdraw)) this is the urlpattern url(r'^receive/(?P[a-zA-Z]+)/([0-9]+)/$', receive_money) --