what does path('') in urls.py from project mean?
This is urls.py from project.
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('myapp.urls'))
]
And this is urls.py from app
urlpatterns = [
path('', views.index),
path('create/', views.create),
path('read/id/', views.read),
]
Is path('')in urls.py from project just mean empty?
If it is, why when I write localhost:8080/create
It will still work? I just routing path('') in urls.py from project Does it mean "except admin/" ..?