RealEstateEvaluationModel modeli qoshildi (Ko'chmas mulk (Real Estate) baholash modeli uchun quyidagicha nomlarni tavsiya qilaman:
)
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
from django.urls import include, path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import AutoEvaluationView, CustomerView, PropertyOwnerView, ValuationView, VehicleView
|
||||
from .views import (
|
||||
AutoEvaluationView,
|
||||
CustomerView,
|
||||
PropertyOwnerView,
|
||||
RealEstateEvaluationView,
|
||||
ValuationView,
|
||||
VehicleView,
|
||||
)
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register("real-estate-evaluation", RealEstateEvaluationView, basename="real-estate-evaluation")
|
||||
router.register("auto-evaluation", AutoEvaluationView, basename="auto-evaluation")
|
||||
router.register("Vehicle", VehicleView, basename="Vehicle")
|
||||
router.register("Valuation", ValuationView, basename="Valuation")
|
||||
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