Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

from django.urls import reverse

from django.urls import reverse

def myview(request):
    return HttpResponseRedirect(reverse('arch-summary', args=[1945]))
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #import #reverse
ADD COMMENT
Topic
Name
9+8 =