Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zandercymatics committed Apr 10, 2024
1 parent 8cee9ef commit f37eafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registrar/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f37eafd

Please sign in to comment.