from rest_framework import routers

from .viewsets import NewsItemViewSet


router = routers.SimpleRouter()
router.register(r'news-items', NewsItemViewSet, base_name='news-items')

urlpatterns = router.urls

dcce4f262704ceeb61b3330841b68013cb3c3786
<mask token>

<mask token>
router.register('news-items', NewsItemViewSet, base_name='news-items')
<mask token>

<mask token>
router = routers.SimpleRouter()
router.register('news-items', NewsItemViewSet, base_name='news-items')
urlpatterns = router.urls

from rest_framework import routers
from .viewsets import NewsItemViewSet
router = routers.SimpleRouter()
router.register('news-items', NewsItemViewSet, base_name='news-items')
urlpatterns = router.urls

from rest_framework import routers

from .viewsets import NewsItemViewSet


router = routers.SimpleRouter()
router.register(r'news-items', NewsItemViewSet, base_name='news-items')

urlpatterns = router.urls
