From 6d088e24d317dc773555ae02aedd58ed23712ad6 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 19 Apr 2014 23:20:14 -0400 Subject: [PATCH] Add the riddle_image_url to the serializer --- .../UNCCScavenger_Server/scavenger/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/serializers.py b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/serializers.py index ce49794..87df6f7 100644 --- a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/serializers.py +++ b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/serializers.py @@ -5,7 +5,8 @@ from models import Location class LocationListSerializer(ModelSerializer): class Meta: model = Location - fields = ('id', 'name', 'riddle', 'location_long', 'location_lat') + fields = ('id', 'name', 'riddle', 'location_long', 'location_lat', + 'riddle_image_url') class LocationResultSerializer(ModelSerializer): class Meta: