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:
parent
283431085f
commit
45196f9823
11 changed files with 129 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue