mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 00:12:16 +02:00
linted
This commit is contained in:
parent
37780c01a5
commit
9e57248a9e
1 changed files with 2 additions and 1 deletions
|
@ -2688,6 +2688,7 @@ class VerifiedByStaffAdmin(ListHeaderAdmin):
|
|||
obj.requestor = request.user if request.user.is_authenticated else None
|
||||
super().save_model(request, obj, form, change)
|
||||
|
||||
|
||||
class PortfolioAdmin(ListHeaderAdmin):
|
||||
|
||||
change_form_template = "django/admin/portfolio_change_form.html"
|
||||
|
@ -2695,7 +2696,7 @@ class PortfolioAdmin(ListHeaderAdmin):
|
|||
list_display = ("organization_name", "federal_agency", "creator")
|
||||
search_fields = ["organization_name"]
|
||||
search_help_text = "Search by organization name."
|
||||
|
||||
|
||||
# Creates select2 fields (with search bars)
|
||||
autocomplete_fields = [
|
||||
"creator",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue