Fix IDI0T error

This commit is contained in:
2021-02-08 23:20:19 +00:00
parent a9b034255e
commit 9b525759f4
2 changed files with 1 additions and 2 deletions

View File

@@ -794,7 +794,7 @@ class EventChecklist(models.Model, RevisionMixin):
@cached_property
def fields(self):
return [n.name for n in list(self.model._meta.get_fields()) if n.name != 'reviewed_at' and n.name != 'reviewed_by' and not n.is_relation and not n.auto_created]
return [n.name for n in list(self._meta.get_fields()) if n.name != 'reviewed_at' and n.name != 'reviewed_by' and not n.is_relation and not n.auto_created]
class Meta:
ordering = ['event']