valuation va vihicle modellari qoshildi

This commit is contained in:
Husanjonazamov
2026-02-13 15:38:13 +05:00
parent 4bc54f1952
commit acf426ee9b
41 changed files with 775 additions and 1 deletions

View File

@@ -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))]