Add first_ready_at as a readonly field on Domain admin

This commit is contained in:
Rachid Mrad 2023-12-21 15:24:14 -05:00
parent fff9873998
commit 2f3a06f7fa
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -812,7 +812,7 @@ class DomainAdmin(ListHeaderAdmin):
search_help_text = "Search by domain name."
change_form_template = "django/admin/domain_change_form.html"
change_list_template = "django/admin/domain_change_list.html"
readonly_fields = ["state", "expiration_date", "deleted_at"]
readonly_fields = ["state", "expiration_date", "first_ready_at", "deleted_at"]
def export_data_type(self, request):
# match the CSV example with all the fields