Skip to content

Commit

Permalink
feat: add fields to serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Mar 18, 2024
1 parent 3c1f03e commit f09862b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SimpleObjectSerializer(serializers.Serializer):
class TempTripleSerializer(serializers.ModelSerializer):
class Meta:
model = TempTriple
fields = ['start_date_written', 'end_date_written']
fields = ['start_date_written', 'end_date_written', 'start_start_date', 'start_end_date', 'end_start_date', 'end_end_date', 'notes']

def __init__(self, *args, **kwargs):
self.reverse = kwargs.pop("reverse", False)
Expand Down

0 comments on commit f09862b

Please sign in to comment.