Merge branch 'za/1852-user-contact-info-inline' into za/1848-copy-contact-email-to-clipboard

This commit is contained in:
zandercymatics 2024-03-19 14:08:26 -06:00
commit 706275a1e4
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 116 additions and 0 deletions

View file

@ -1115,6 +1115,8 @@ class DomainRequestAdmin(ListHeaderAdmin):
"requested_domain",
"approved_domain",
"alternative_domains",
"other_contacts",
"current_websites",
"purpose",
"submitter",
"no_other_contacts_rationale",
@ -1134,6 +1136,8 @@ class DomainRequestAdmin(ListHeaderAdmin):
# Table ordering
ordering = ["requested_domain__name"]
change_form_template = "django/admin/domain_request_change_form.html"
# Trigger action when a fieldset is changed
def save_model(self, request, obj, form, change):
"""Custom save_model definition that handles edge cases"""