From 5de2df18723a7104b598b51a0fd036b91a330ce6 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:44:15 -0700 Subject: [PATCH] Linting --- src/registrar/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 9e38618fa..306662403 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -1077,6 +1077,7 @@ class DomainAdmin(ListHeaderAdmin): ordering = ["name"] def changeform_view(self, request, object_id=None, form_url="", extra_context=None): + """Custom changeform implementation to pass in context information""" if extra_context is None: extra_context = {} @@ -1198,7 +1199,7 @@ class DomainAdmin(ListHeaderAdmin): def _get_calculated_years_for_exp_date(self, obj, extension_period: int = 1): """Given the current date, an extension period, and a registry_expiration_date - on the domain object, calculate the number of years needed to extend the + on the domain object, calculate the number of years needed to extend the current expiration date by the extension period. """ # Get the date we want to update to