Fixes #1622 - split the api into 4 apps: core, history, schedule, storage - exploded the settings into testing/prod
9 lines
203 B
Python
9 lines
203 B
Python
from rest_framework import serializers
|
|
|
|
from ..models import Country
|
|
|
|
|
|
class CountrySerializer(serializers.HyperlinkedModelSerializer):
|
|
class Meta:
|
|
model = Country
|
|
fields = "__all__"
|