from django.conf.urls import url

from rest_framework.routers import SimpleRouter

from web import views

router = SimpleRouter()

router.register('art', views.ArticleView)

urlpatterns = [
    url(r'^index/', views.index, name='index'),
    url(r'^list/', views.list, name='list'),
    url('^category_list/(\d+)/', views.category_list, name='category_list'),
    url(r'^about/', views.about, name='about'),
    url(r'^info/(\d+)/', views.info, name='info'),
]

urlpatterns += router.urls
e0af9e0de85d62708b7c2984e37df642834b594d
<mask token>

<mask token>
router.register('art', views.ArticleView)
<mask token>
urlpatterns += router.urls

<mask token>
router = SimpleRouter()
router.register('art', views.ArticleView)
urlpatterns = [url('^index/', views.index, name='index'), url('^list/',
    views.list, name='list'), url('^category_list/(\\d+)/', views.
    category_list, name='category_list'), url('^about/', views.about, name=
    'about'), url('^info/(\\d+)/', views.info, name='info')]
urlpatterns += router.urls

from django.conf.urls import url
from rest_framework.routers import SimpleRouter
from web import views
router = SimpleRouter()
router.register('art', views.ArticleView)
urlpatterns = [url('^index/', views.index, name='index'), url('^list/',
    views.list, name='list'), url('^category_list/(\\d+)/', views.
    category_list, name='category_list'), url('^about/', views.about, name=
    'about'), url('^info/(\\d+)/', views.info, name='info')]
urlpatterns += router.urls

from django.conf.urls import url

from rest_framework.routers import SimpleRouter

from web import views

router = SimpleRouter()

router.register('art', views.ArticleView)

urlpatterns = [
    url(r'^index/', views.index, name='index'),
    url(r'^list/', views.list, name='list'),
    url('^category_list/(\d+)/', views.category_list, name='category_list'),
    url(r'^about/', views.about, name='about'),
    url(r'^info/(\d+)/', views.info, name='info'),
]

urlpatterns += router.urls