
from django.conf.urls import url
from rest_framework.routers import SimpleRouter

from myapp import views
router = SimpleRouter()
router.register('art', views.Articleview)
urlpatterns = [
    # 博客首页
    # 127.0.0.1:8090/web/index/
    url(r'^index/', views.index, name='index'),
    url(r"^about/", views.about),
    url(r'^gbook/', views.gbook),
    url(r'^info/', views.info, name='info'),
    url(r'^infopic/', views.infopic),
    url(r'^list/', views.list),
    url(r'^share/', views.share, name='share'),
    # url(r'^search/', views.search),
    url(r'^myinfo/(\d+)/', views.myinfo, name='myinfo'),
    url(r'^myabout/(\d+)/', views.myabout, name='myabout'),

]
urlpatterns += router.urls
d317042b6f06cf61b2b9a5ac043f7becf5d8ad91
<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('^about/',
    views.about), url('^gbook/', views.gbook), url('^info/', views.info,
    name='info'), url('^infopic/', views.infopic), url('^list/', views.list
    ), url('^share/', views.share, name='share'), url('^myinfo/(\\d+)/',
    views.myinfo, name='myinfo'), url('^myabout/(\\d+)/', views.myabout,
    name='myabout')]
urlpatterns += router.urls

from django.conf.urls import url
from rest_framework.routers import SimpleRouter
from myapp import views
router = SimpleRouter()
router.register('art', views.Articleview)
urlpatterns = [url('^index/', views.index, name='index'), url('^about/',
    views.about), url('^gbook/', views.gbook), url('^info/', views.info,
    name='info'), url('^infopic/', views.infopic), url('^list/', views.list
    ), url('^share/', views.share, name='share'), url('^myinfo/(\\d+)/',
    views.myinfo, name='myinfo'), url('^myabout/(\\d+)/', views.myabout,
    name='myabout')]
urlpatterns += router.urls


from django.conf.urls import url
from rest_framework.routers import SimpleRouter

from myapp import views
router = SimpleRouter()
router.register('art', views.Articleview)
urlpatterns = [
    # 博客首页
    # 127.0.0.1:8090/web/index/
    url(r'^index/', views.index, name='index'),
    url(r"^about/", views.about),
    url(r'^gbook/', views.gbook),
    url(r'^info/', views.info, name='info'),
    url(r'^infopic/', views.infopic),
    url(r'^list/', views.list),
    url(r'^share/', views.share, name='share'),
    # url(r'^search/', views.search),
    url(r'^myinfo/(\d+)/', views.myinfo, name='myinfo'),
    url(r'^myabout/(\d+)/', views.myabout, name='myabout'),

]
urlpatterns += router.urls