[Django 3.0] TypeError: 'class Meta' got invalid attribute(s): manager_inheritance_from_future
@@ -1722,6 +1722,7 @@ class Coordinator(Job):
self.data = json.dumps(data_)
class Meta(object):
+ if sys.version_info[0] < 3:
manager_inheritance_from_future = True
class DatasetManager(models.Manager):
@@ -1987,6 +1988,7 @@ class Bundle(Job):
return xml, metadata
class Meta(object):
+ if sys.version_info[0] < 3:
manager_inheritance_from_future = True
class HistoryManager(models.Manager):
