Fix Bug: Field name photo_path is not valid for model PhotosInfo

Brightcells 9 years ago
parent
commit
b5be31c6cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      photo/serializers.py

+ 1 - 1
photo/serializers.py

@@ -7,4 +7,4 @@ from rest_framework import serializers
7 7
 class PhotosInfoSerializer(serializers.HyperlinkedModelSerializer):
8 8
     class Meta:
9 9
         model = PhotosInfo
10
-        fields = ('lensman_id', 'session_id', 'photo_id', 'photo_path', 'created_at')
10
+        fields = ('lensman_id', 'session_id', 'photo_id', 'p_photo_path', 'm_photo_path', 'l_photo_path', 'r_photo_path', 'created_at')