1
0
forked from erp-dev/erp

feat: added user profile model & api & admin, it uses by found user with merchant

This commit is contained in:
2025-11-24 12:58:29 +08:00
parent 0e77496d9a
commit 506b0cb448
11 changed files with 588 additions and 4 deletions

View File

@@ -38,6 +38,9 @@ device_info_router.register(prefix='', viewset=views.DeviceInfoViewSet)
vehicle_transport_record_router = routers.DefaultRouter()
vehicle_transport_record_router.register(prefix='', viewset=views.VehicleTransportRecordViewSet)
# UserProfile router
user_profile_router = routers.DefaultRouter()
user_profile_router.register(prefix='', viewset=views.UserProfileViewSet)
urlpatterns = [
path('quick-inputs/', include(quick_input_router.urls)),
@@ -52,4 +55,5 @@ urlpatterns = [
path('bank-accounts/', include(bank_account_router.urls)),
path('device-info/', include(device_info_router.urls)),
path('vehicle-transport-records/', include(vehicle_transport_record_router.urls)),
]
path('user-profiles/', include(user_profile_router.urls)),
]