mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
made expiration date readonly in django admin; expiration date setter not implemented; implemented renew_domain; wrote unit tests
This commit is contained in:
parent
652086a771
commit
944c82b9f9
4 changed files with 95 additions and 3 deletions
|
@ -736,7 +736,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"]
|
||||
readonly_fields = ["state", "expiration_date"]
|
||||
|
||||
def export_data_type(self, request):
|
||||
# match the CSV example with all the fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue