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