feat(agreement): implement user agreement update functionality with validation checks
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m4s

This commit is contained in:
2025-07-25 10:12:04 +05:00
parent fd603daaaf
commit f84f03fd5b
3 changed files with 67 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ from .views import (
UserVerifyAPIView,
UserUpdateAPIView,
UserRejectAPIView,
AgreementUpdateAPIView,
)
@@ -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/",
AgreementUpdateAPIView.as_view(),
name="user-agreement-update",
),
path("users/<int:pk>/reject/", UserRejectAPIView.as_view(), name="user-reject"),
path("healthcheck/", healthcheck, name="healthcheck"),
path("test/", test_email, name="testemail"),