Skip to content
Snippets Groups Projects
Commit b472b4ec authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '271-attributeerror-type-object-grouptype-has-no-attribute-meta' into 'master'

Resolve "AttributeError: type object 'GroupType' has no attribute 'meta'"

Closes #271

See merge request AlekSIS!274
parents bddaebeb ab9bb538
No related branches found
No related tags found
1 merge request!274Resolve "AttributeError: type object 'GroupType' has no attribute 'meta'"
Pipeline #2153 failed
......@@ -218,9 +218,6 @@ class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase):
"""Collect all fields that can be synced on a model."""
return lazy(cls.syncable_fields_choices, tuple)
def __str__(self) -> str:
return f"{self.__class__.meta.name} {self.pk}"
class Meta:
abstract = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment