Hi!!! usually HttpResponseRedirects work with reverse
function...something like this
def myview(request):
return HttpResponseRedirect(reverse('arch-summary', args=[1945]))
where 'arch-summary' is the path name and args=[1945] the args it expects...
You need to modify also your urls.py to add ty
Hello everyone,
Please help me out in understanding how to pass the redirected view
with some arguments like userid to connect the URLs in Django
[image: Screenshot_2.png][image: Screenshot_3.png]
When I am doing this way it is redirecting to the self page that is login.
But I need the
Htt
2 matches
Mail list logo