please explain me why following code works with http://127.0.0.1:8000/index/1/ and doesn't for http://127.0.0.1:8000/1/:
mysite\urls.py
urlpatterns = [
path('index/', include('polls.urls')),
path('1/', include ('polls.urls')),
]
polls\urls.py
urlpatterns = [
path('1/', views.polls, name='z'),
path('', views.index, name='index'),
]
Does Django not accept absent of some indexlike path, is everything built on it?