1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-08 16:38:14 -05:00

Add the riddle_image_url to the serializer

This commit is contained in:
Bradlee Speice 2014-04-19 23:20:14 -04:00
parent 782a31eb4d
commit 6d088e24d3

View File

@ -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: