base setup
This commit is contained in:
8
at_django_boilerplate/blogs/urls.py
Executable file
8
at_django_boilerplate/blogs/urls.py
Executable file
@@ -0,0 +1,8 @@
|
||||
from django.urls import path
|
||||
from .import views
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
path('', views.BlogsListView.as_view(), name='blogs_list'),
|
||||
path('blogs/<uuid:pk>/', views.BlogDetailView.as_view(), name='blog_detail'),
|
||||
]
|
||||
Reference in New Issue
Block a user