how to use http response redirect in django code example
Example: redirect django
from django.shortcuts import redirect
def my_view(request):
# ...
return redirect('some-view-name', foo='bar')
from django.shortcuts import redirect
def my_view(request):
# ...
return redirect('some-view-name', foo='bar')