Why does the python code below crash my website?
But the code at the very bottom does not crash the website
Here is the code that crashes the website:
from django.urls import path, include
from django.contrib import admin
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('learning_logs.urls')),
]
Here is the code that does not crash:
from django.contrib import admin
from django.urls import path
urlpatterns = [
path('admin/', admin.site.urls),
]
Thank you