Merge remote-tracking branch 'origin/dk/1807-user-profile' into za/2047-force-new-users-profile

This commit is contained in:
zandercymatics 2024-05-20 10:17:31 -06:00
commit d202d2601f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
16 changed files with 515 additions and 32 deletions

View file

@ -185,6 +185,11 @@ urlpatterns = [
views.DomainAddUserView.as_view(),
name="domain-users-add",
),
path(
"user-profile",
views.UserProfileView.as_view(),
name="user-profile",
),
path(
"invitation/<int:pk>/delete",
views.DomainInvitationDeleteView.as_view(http_method_names=["post"]),
@ -213,6 +218,7 @@ urlpatterns = [
# Rather than dealing with that, we keep everything centralized in one location.
# This way, we can share a view for djangooidc, and other pages as we see fit.
handler500 = "registrar.views.utility.error_views.custom_500_error_view"
handler403 = "registrar.views.utility.error_views.custom_403_error_view"
# we normally would guard these with `if settings.DEBUG` but tests run with
# DEBUG = False even when these apps have been loaded because settings.DEBUG