You haven’t created a new path - you’ve got the same path defined for both of your views.
I suggest you review the docs at URL dispatcher | Django documentation | Django, particularly the section on How Django processes a request.
You haven’t created a new path - you’ve got the same path defined for both of your views.
I suggest you review the docs at URL dispatcher | Django documentation | Django, particularly the section on How Django processes a request.