Skip to content

Commit

Permalink
feat(models): define a string representation of Parentprofession
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Dec 5, 2024
1 parent 250c2d2 commit 8f54166
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def __str__(self):
class Parentprofession(GenericModel, models.Model):
label = models.CharField()

def __str__(self):
return self.label


class Event(
LegacyStuffMixin, VersionMixin, LegacyDateMixin, AbstractEntity, OEBLBaseEntity
Expand Down

0 comments on commit 8f54166

Please sign in to comment.