mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 02:36:02 +02:00
Basics
This commit is contained in:
parent
8f8402ffc5
commit
2ad571354e
4 changed files with 126 additions and 0 deletions
|
@ -1099,6 +1099,8 @@ class DomainRequestAdmin(ListHeaderAdmin):
|
|||
"about_your_organization",
|
||||
"requested_domain",
|
||||
"approved_domain",
|
||||
"other_contacts",
|
||||
"current_websites",
|
||||
"alternative_domains",
|
||||
"purpose",
|
||||
"submitter",
|
||||
|
@ -1119,6 +1121,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"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue