i got latest django installed and working through hello world tutorial
i got problem with getting url dispatcher working
i got configured as follow in django_web/urls.py i got
urlpatterns = [
path('TEST1', include('newpage.urls')),
#path('admin/', admin.site.urls),
]
in newpage/urls.py i got
urlpatterns = [
path('', views.index, name='index'),
path('TEST' ,views.index2, name='cokolwiek'),
]
if i hit localhost:8000/TEST1 - works fine
if i hit localhost:8000/TEST1/TEST - does not work i got followin message
Using the URLconf defined in django_web.urls, Django tried these URL patterns, in this order: TEST1 [name='index'] TEST1 TEST [name='cokolwiek'] The current path, TEST1/TEST, didn't match any of these.
how the hell is that not working