diff --git a/chapter2/mysite/mysite/urls.py b/chapter2/mysite/mysite/urls.py index fe252a5..8d8a87b 100644 --- a/chapter2/mysite/mysite/urls.py +++ b/chapter2/mysite/mysite/urls.py @@ -17,6 +17,7 @@ from django.contrib import admin from django.urls import include, path urlpatterns = [ - path('myapp/', include('myapp.urls')), + path('', include('myapp.urls')), + path('myapp/', include('myapp.urls')), path('admin/', admin.site.urls), ]