what does django redirect do 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')