1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 11:45:17 +02:00

Translate some regions into english

This commit is contained in:
Sean Morley 2024-08-20 17:47:37 -04:00
parent 027956a015
commit 53272a58f8
6 changed files with 498 additions and 475 deletions

View file

@ -22,7 +22,7 @@ class RegionSerializer(serializers.ModelSerializer):
class Meta:
model = Region
fields = '__all__' # Serialize all fields of the Adventure model
read_only_fields = ['id', 'name', 'country']
read_only_fields = ['id', 'name', 'country', 'name_en']
class VisitedRegionSerializer(serializers.ModelSerializer):
class Meta: