13 lines
319 B
Python
13 lines
319 B
Python
"""Location app urlconf."""
|
|
from django.urls import path
|
|
|
|
from news.views import common
|
|
|
|
app_name = 'news'
|
|
|
|
urlpatterns = [
|
|
path('', common.NewsListView.as_view(), name='list'),
|
|
path('<int:pk>/', common.NewsDetailView.as_view(), name='rud'),
|
|
path('type/', common.NewsTypeListView.as_view(), name='type'),
|
|
]
|