diff --git a/api/event/serializers.py b/api/event/serializers.py index 7eb1319..5e01499 100644 --- a/api/event/serializers.py +++ b/api/event/serializers.py @@ -6,11 +6,11 @@ from event.models import Event, ActivityTag, Place, ActivityTemplate # Event Serializer class EventSerializer(serializers.HyperlinkedModelSerializer): created_by = serializers.ReadOnlyField(source='created_by.get_full_name') - creation_date = serializers.ReadOnlyField() + created_at = serializers.ReadOnlyField() class Meta: model = Event - fields = ('url', 'id', 'title', 'slug', 'created_by', 'creation_date', + fields = ('url', 'id', 'title', 'slug', 'created_by', 'created_at', 'description', 'beginning_date', 'ending_date')