from django.conf.urls import url

from . import views


urlpatterns = [
    url(
        r'^$',
        views.ArticleListView.as_view(),
        name='article_list'
    ),
    url(
        r'^article/(?P<pk>[0-9]+)$',
        views.ArticleDetailView.as_view(),
        name='article_detail'
    ),
]

from django.conf.urls import url

from . import views


urlpatterns = [
    url(
        r'^$',
        views.ArticleListView.as_view(),
        name='article_list'
    ),
    url(
        r'^article/(?P<pk>[0-9]+)$',
        views.ArticleDetailView.as_view(),
        name='article_detail'
    ),
]
