Add notes field

This commit is contained in:
zandercymatics 2024-01-24 13:46:53 -07:00
parent 9b691affdc
commit 65ff4ece76
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
5 changed files with 76 additions and 8 deletions

View file

@ -737,7 +737,18 @@ class DomainApplicationAdmin(ListHeaderAdmin):
# Detail view
form = DomainApplicationAdminForm
fieldsets = [
(None, {"fields": ["status", "investigator", "creator", "approved_domain"]}),
(
None,
{
"fields": [
"status",
"investigator",
"creator",
"approved_domain",
"notes"
]
}
),
(
"Type of organization",
{
@ -991,6 +1002,22 @@ class DomainAdmin(ListHeaderAdmin):
"deleted",
]
fieldsets = (
(
None,
{
"fields": [
"name",
"state",
"expiration_date",
"first_ready",
"deleted",
"notes"
]
},
),
)
# this ordering effects the ordering of results
# in autocomplete_fields for domain
ordering = ["name"]