Skip to content
Snippets Groups Projects
Verified Commit ab9bb538 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Drop __str__ method

parent bddaebeb
No related branches found
No related tags found
1 merge request!274Resolve "AttributeError: type object 'GroupType' has no attribute 'meta'"
Pipeline #2152 passed
......@@ -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