django python for reverse order code example
Example 1: django reverse
from django.urls import reverse
def myview(request):
return HttpResponseRedirect(reverse('arch-summary', args=[1945]))
Example 2: ordering django reverse
.order_by('-date')