Reoraganized project

This commit is contained in:
ITQ
2024-03-02 13:22:29 +03:00
parent bcdcfaf7f2
commit ed687650ba
27 changed files with 58 additions and 45 deletions
@@ -0,0 +1,9 @@
from rest_framework import serializers
from api.countries.models import Country
class CountrySerializer(serializers.ModelSerializer):
class Meta:
model = Country
fields = ["name", "alpha2", "alpha3", "region"]