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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
479 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'tax-types', views.TaxTypeViewSet)
  6. router.register(r'clients', views.ClientViewSet)
  7. router.register(r'address', views.AddressViewSet)
  8. router.register(r'cities', views.CityViewSet)
  9. router.register(r'states', views.StateViewSet)
  10. router.register(r'countries', views.CountryViewSet)
  11. urlpatterns = [
  12. path('', include(router.urls)),
  13. ]