from django.urls import path

from . import views as news_views

urlpatterns = [
    path(r'all', news_views.news_list, name='news_list'),
    path(r'<str:alias>', news_views.get_news, name='news_item'),
]

f9da92ca06d5d244f6899deaeacd30b255bb3bc6
<mask token>

<mask token>
urlpatterns = [path('all', news_views.news_list, name='news_list'), path(
    '<str:alias>', news_views.get_news, name='news_item')]

from django.urls import path
from . import views as news_views
urlpatterns = [path('all', news_views.news_list, name='news_list'), path(
    '<str:alias>', news_views.get_news, name='news_item')]

from django.urls import path

from . import views as news_views

urlpatterns = [
    path(r'all', news_views.news_list, name='news_list'),
    path(r'<str:alias>', news_views.get_news, name='news_item'),
]
