Fix Bug: file_path.url

Brightcells %!s(int64=8) %!d(string=hace) años
padre
commit
84163f001e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      utils/url_utils.py

+ 1 - 1
utils/url_utils.py

@@ -12,4 +12,4 @@ def share_url(photo_id):
12 12
 
13 13
 
14 14
 def upload_file_url(file_path):
15
-    return file_path and ('{}{}'.format(settings.DOMAIN, file_path))
15
+    return file_path and ('{}{}'.format(settings.DOMAIN, file_path.url))