mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
made field readonly
This commit is contained in:
parent
f12c71ab16
commit
76e5b8480d
1 changed files with 3 additions and 0 deletions
|
@ -2841,6 +2841,9 @@ class PortfolioAdmin(ListHeaderAdmin):
|
||||||
list_display = ("organization_name", "federal_agency", "creator")
|
list_display = ("organization_name", "federal_agency", "creator")
|
||||||
search_fields = ["organization_name"]
|
search_fields = ["organization_name"]
|
||||||
search_help_text = "Search by organization name."
|
search_help_text = "Search by organization name."
|
||||||
|
readonly_fields = [
|
||||||
|
"creator",
|
||||||
|
]
|
||||||
|
|
||||||
# Creates select2 fields (with search bars)
|
# Creates select2 fields (with search bars)
|
||||||
autocomplete_fields = [
|
autocomplete_fields = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue