from rest_framework.routers import SimpleRouter from . import views router = SimpleRouter(trailing_slash=False) urlpatterns = router.urls