<reponame>Daniela-Sanchez/ClienteServidor<filename>cssenv/Scripts/csaplication/Administrador/serializers.py
# ----------------------------- Librerias -----------------------------
from rest_framework import routers, serializers, viewsets

# ----------------------------- Modelos -----------------------------
from Administrador.models import Administrador

class AdministradorSerializers(serializers.ModelSerializer):
    class Meta:
        model = Administrador
        fields = ('id', 'name', 'ap_pat', 'ap_mat', 'year')
# ----------------------------- Librerias -----------------------------
from rest_framework import routers, serializers, viewsets

# ----------------------------- Modelos -----------------------------
from Administrador.models import Administrador

class AdministradorSerializers(serializers.ModelSerializer):
    class Meta:
        model = Administrador
        fields = ('id', 'name', 'ap_pat', 'ap_mat', 'year')
# ----------------------------- Librerias ----------------------------- # ----------------------------- Modelos -----------------------------