mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -05:00 
			
		
		
		
	Add the riddle_image_url to the serializer
This commit is contained in:
		@ -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:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user