mirror of
https://github.com/not-kennethreitz/morepython.org.git
synced 2026-06-05 15:00:18 +00:00
changes
This commit is contained in:
+5
-1
@@ -16,6 +16,10 @@ Including another URLconf
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
import core.views
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path("admin/", admin.site.urls),
|
||||
path("", core.views.PostListView.as_view()),
|
||||
path("<slug:slug>", core.views.PostDetailView.as_view()),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user