valuation va vihicle modellari qoshildi
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
from django.urls import include, path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import CustomerView, PropertyOwnerView
|
||||
from .views import CustomerView, PropertyOwnerView, ValuationView, VehicleView
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register("Vehicle", VehicleView, basename="Vehicle")
|
||||
router.register("Valuation", ValuationView, basename="Valuation")
|
||||
router.register("property-owner", PropertyOwnerView, basename="property-owner")
|
||||
router.register("customer", CustomerView, basename="customer")
|
||||
urlpatterns = [path("", include(router.urls))]
|
||||
|
||||
Reference in New Issue
Block a user