1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 03:35:18 +02:00

GEO Point checker!

This commit is contained in:
Sean Morley 2024-08-23 13:56:27 -04:00
parent 283431085f
commit 45196f9823
11 changed files with 129 additions and 6 deletions

View file

@ -16,7 +16,7 @@ class CountrySerializer(serializers.ModelSerializer):
class Meta:
model = Country
fields = '__all__' # Serialize all fields of the Adventure model
read_only_fields = ['id', 'name', 'country_code', 'continent', 'flag_url']
read_only_fields = ['id', 'name', 'country_code', 'continent', 'flag_url', 'geometry']
class RegionSerializer(serializers.ModelSerializer):
class Meta: