feat(agreement): add agreement field to user model and implement agreement upload functionality
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m2s

This commit is contained in:
2025-07-25 00:01:56 +05:00
parent 087782e351
commit 9e4449d0d6
6 changed files with 83 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ from .views import (
UserVerifyAPIView,
UserUpdateAPIView,
UserRejectAPIView,
UpdateAgreementView,
)
@@ -45,6 +46,11 @@ urlpatterns = [
path("users/temp/filter/", filter_temporary_user, name="filter-temporary-users"),
# User verification flow
path("users/<int:pk>/verify/", UserVerifyAPIView.as_view(), name="user-verify"),
path(
"users/<int:pk>/agreement/",
UpdateAgreementView.as_view(),
name="user-agreement",
),
path("users/<int:pk>/reject/", UserRejectAPIView.as_view(), name="user-reject"),
path("healthcheck/", healthcheck, name="healthcheck"),
path("test/", test_email, name="testemail"),