from django.urls import path
from . import views

app_name = 'news'

urlpatterns = [
    path('',views.index,name='index'),
    path('news_list/',views.news_list,name='news_list'),
    path('<int:news_id>/',views.news_detail,name='news_detail'),
    path('pub_comment/',views.pub_comment,name='pub_comment'),

]
from django.urls import path
from . import views

app_name = 'news'

urlpatterns = [
    path('',views.index,name='index'),
    path('news_list/',views.news_list,name='news_list'),
    path('<int:news_id>/',views.news_detail,name='news_detail'),
    path('pub_comment/',views.pub_comment,name='pub_comment'),

]