Skip to content

Commit

Permalink
feat: add source generic relation to entities
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Nov 14, 2023
1 parent 739b264 commit f205bfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class LegacyStuffMixin(models.Model):
published = models.BooleanField(default=False)

texts = GenericRelation("Text")
source = GenericRelation("Source")

class Meta:
abstract = True
Expand Down

0 comments on commit f205bfe

Please sign in to comment.