from django.conf.urls import (url, include)
from rest_framework import routers

from sample.views import BookmarkViewSet

router = routers.DefaultRouter()
router.register(r'bookmark', BookmarkViewSet)

urlpatterns = [
    url(r'^', include(router.urls, namespace='bookmark')),
]

0b402f97aa4c8fd0ffd774be6803251234709dc9
<mask token>

<mask token>
router.register('bookmark', BookmarkViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('bookmark', BookmarkViewSet)
urlpatterns = [url('^', include(router.urls, namespace='bookmark'))]

from django.conf.urls import url, include
from rest_framework import routers
from sample.views import BookmarkViewSet
router = routers.DefaultRouter()
router.register('bookmark', BookmarkViewSet)
urlpatterns = [url('^', include(router.urls, namespace='bookmark'))]

from django.conf.urls import (url, include)
from rest_framework import routers

from sample.views import BookmarkViewSet

router = routers.DefaultRouter()
router.register(r'bookmark', BookmarkViewSet)

urlpatterns = [
    url(r'^', include(router.urls, namespace='bookmark')),
]
