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: