Django backend for WorkX project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Deze repo is gearchiveerd. U kunt bestanden bekijken en het klonen, maar niet pushen of problemen/pull-requests openen.

14 regels
280 B

  1. from django.urls import path, include
  2. from . import views
  3. from rest_framework import routers
  4. router = routers.DefaultRouter()
  5. router.register(r'items', views.ItemViewSet)
  6. router.register(r'invoices', views.InvoiceViewSet)
  7. urlpatterns = [
  8. path('', include(router.urls)),
  9. ]