Skip to content

Commit 1124f15

Browse files
authored
Fix a 500 error when previewing CertificatePage from CMS (#3116)
1 parent 6ddb7ee commit 1124f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cms/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def get_context(self, request, *args, **kwargs):
459459
"uuid": "fake-uuid",
460460
"learner_name": "Anthony M. Stark",
461461
"product_name": product_name,
462-
"issue_date": self.issue_date,
462+
"end_date": datetime.now(), # noqa: DTZ005
463463
"CEUs": self.CEUs,
464464
"is_program_certificate": is_program_certificate,
465465
}

0 commit comments

Comments
 (0)