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

Brightcells %!s(int64=9) %!d(string=hace) años
padre
commit
b5be31c6cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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')