Change slugs and str url order
This commit is contained in:
parent
7e5844a24f
commit
ecdf2fcaa0
|
|
@ -6,6 +6,6 @@ app_name = 'news'
|
|||
|
||||
urlpatterns = [
|
||||
path('', views.NewsListView.as_view(), name='list'),
|
||||
path('<slug:slug>/', views.NewsDetailView.as_view(), name='rud'),
|
||||
path('types/', views.NewsTypeListView.as_view(), name='type'),
|
||||
path('<slug:slug>/', views.NewsDetailView.as_view(), name='rud'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user