From f37eafdc53898db1362584dd7eb7910f4785b4a6 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Wed, 10 Apr 2024 15:22:49 -0600 Subject: [PATCH] Update admin.py --- src/registrar/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 0c720c8af1..730cb50606 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -1614,7 +1614,7 @@ def changeform_view(self, request, object_id=None, form_url="", extra_context=No """Custom changeform implementation to pass in context information""" if extra_context is None: extra_context = {} - extra_context["original_object"] = self.model.objects.get(pk=object_id) + # Pass in what the an extended expiration date would be for the expiration date modal if object_id is not None: domain = Domain.objects.get(pk=object_id)