mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Update admin.py
This commit is contained in:
parent
8cee9ef8ca
commit
f37eafdc53
1 changed files with 1 additions and 1 deletions
|
@ -1614,7 +1614,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
"""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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue