mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-01 17:48:24 +00:00
Fix IDI0T error
This commit is contained in:
@@ -11,7 +11,6 @@ from selenium.webdriver.support.wait import WebDriverWait
|
|||||||
|
|
||||||
from RIGS import models as rigsmodels
|
from RIGS import models as rigsmodels
|
||||||
from . import pages
|
from . import pages
|
||||||
from envparse import env
|
|
||||||
|
|
||||||
from pytest_django.asserts import assertContains
|
from pytest_django.asserts import assertContains
|
||||||
|
|
||||||
|
|||||||
@@ -794,7 +794,7 @@ class EventChecklist(models.Model, RevisionMixin):
|
|||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def fields(self):
|
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:
|
class Meta:
|
||||||
ordering = ['event']
|
ordering = ['event']
|
||||||
|
|||||||
Reference in New Issue
Block a user