docs: clarify comment

This commit is contained in:
oliviaruizknott
2021-02-03 16:52:34 -05:00
parent 8dc86227b9
commit d33d9a66c8

View File

@@ -514,8 +514,9 @@ class CertificateInvalidation(TimeStampedModel):
notes = models.TextField(default=None, null=True)
active = models.BooleanField(default=True)
# This is necessary because CMS does not install the certificates app, but it
# imports this models code. Simple History will attempt to connect to the installed
# This is necessary because CMS does not install the certificates app, but
# this code is run when other models in this file are imported there (or in
# common code). Simple History will attempt to connect to the installed
# model in the certificates app, which will fail.
if 'certificates' in apps.app_configs:
history = HistoricalRecords()