from django.urls import reverse
def myview(request):
return HttpResponseRedirect(reverse('arch-summary', args=[1945]))
from django.urls import reverse
def myview(request):
return HttpResponseRedirect(reverse('url_name'))
return HttpResponseRedirect(reverse('blogIndex', args=[str(pk)]))