from django.contrib import admin
from django.conf.urls import url

from rest_framework.routers import DefaultRouter

from pages.views import ArcticleViewSet, VersionViewSet


router = DefaultRouter()
router.register(r'api/article', ArcticleViewSet, base_name='article')
router.register(r'api/version', VersionViewSet, base_name='version')
urlpatterns = router.urls


urlpatterns += [
    url(r'^admin/', admin.site.urls),
]

ad34344a61f5eddb8560e3791f3424943d2a73c8
<mask token>

<mask token>
router.register('api/article', ArcticleViewSet, base_name='article')
router.register('api/version', VersionViewSet, base_name='version')
<mask token>
urlpatterns += [url('^admin/', admin.site.urls)]

<mask token>
router = DefaultRouter()
router.register('api/article', ArcticleViewSet, base_name='article')
router.register('api/version', VersionViewSet, base_name='version')
urlpatterns = router.urls
urlpatterns += [url('^admin/', admin.site.urls)]

from django.contrib import admin
from django.conf.urls import url
from rest_framework.routers import DefaultRouter
from pages.views import ArcticleViewSet, VersionViewSet
router = DefaultRouter()
router.register('api/article', ArcticleViewSet, base_name='article')
router.register('api/version', VersionViewSet, base_name='version')
urlpatterns = router.urls
urlpatterns += [url('^admin/', admin.site.urls)]

from django.contrib import admin
from django.conf.urls import url

from rest_framework.routers import DefaultRouter

from pages.views import ArcticleViewSet, VersionViewSet


router = DefaultRouter()
router.register(r'api/article', ArcticleViewSet, base_name='article')
router.register(r'api/version', VersionViewSet, base_name='version')
urlpatterns = router.urls


urlpatterns += [
    url(r'^admin/', admin.site.urls),
]
