Enzo Yair

Merge branch 'feature/agregar_valores_relationship_evento' into 'develop'

se agrega el contendio de los objetos en el serializer

Feature:
-Recuperar el contendio de relationship en endpoint evento

test resultado:
 ======================================================================================================== 3 passed in 2.49s ========================================================================================================

See merge request !4
from rest_framework_json_api import serializers
from .models import Evento
from .models import Evento, FechaEvento
from organismo.serializers import OrganismoSerializer, DependenciaSerializer
class FechaEventoSerializer(serializers.ModelSerializer):
class Meta:
model = FechaEvento
fields = serializers.ALL_FIELDS
class EventoSerializer(serializers.ModelSerializer):
organismo = OrganismoSerializer(many=True, read_only=True)
dependencia = DependenciaSerializer(many=True, read_only=True)
fechas = FechaEventoSerializer(many=True, read_only=True)
class Meta:
model = Evento
fields = (
... ...