__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" __license__ = "AGPL v3" from django.conf.urls import url from django.urls import include, path from rest_framework import routers from conflicts.viewsets import ConflictOfInterestViewSet from news.viewsets import NewsItemViewSet from journals.api import views as journal_api_views router = routers.SimpleRouter() router.register(r'news', NewsItemViewSet) router.register(r'conflicts', ConflictOfInterestViewSet) app_name = 'api' urlpatterns = router.urls urlpatterns += [ path('journals/', include('journals.api.urls')), ]