django redirect after get requets 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')