djangoprojekt
This commit is contained in:
1 parent
2248c2f3bb
commit
de8f10e8dd
1 file changed
+4
-3
+4
-3
@@ -13,9 +13,10 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
urlpatterns = [
|
||||
path('posts/' , include('posts.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
]
|
||||
Reference in new issue
Block a user