Skip to content

Commit

Permalink
Add verbose name
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed May 18, 2024
1 parent f2c650f commit 4a7a077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competition/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_history_events(self, obj):
class EventRegistrationSerializer(serializers.ModelSerializer):
class Meta:
model = models.EventRegistration
fields = ['school', 'grade', 'profile', 'id', 'event']
fields = ['school', 'grade', 'profile', 'verbose_name', 'id', 'event']
school = SchoolShortSerializer(many=False)
grade = serializers.SlugRelatedField(
slug_field='tag', many=False, read_only=True)
Expand Down

0 comments on commit 4a7a077

Please sign in to comment.