Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

redirect django

from django.shortcuts import redirect

def my_view(request):
    # ...
    return redirect('some-view-name', foo='bar')
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #redirect #django
ADD COMMENT
Topic
Name
8+8 =