Skip to content

Commit

Permalink
update CompanyAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-bsi committed Dec 6, 2024
1 parent 960cc37 commit e3e8723
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/apps/ifc_validation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ class CompanyAdmin(BaseAdmin):
('General Information', {"classes": ("wide"), "fields": ["id", "name" ]}),
('Auditing Information', {"classes": ("wide"), "fields": [("created", "updated")]})
]
list_display = ["id", "name", "created", "updated"]
readonly_fields = ["id", "created", "updated"]
list_filter = ["company", "created", "updated"]
list_filter = ["name", "created", "updated"]
search_fields = ("name",)


class AuthoringToolAdmin(BaseAdmin):
Expand Down

0 comments on commit e3e8723

Please sign in to comment.