You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problems with django-storages and django-boto when run manage.py collectstatic
File "/Users/oscarelotero/Documents/Reingeniamos/Proyectos/AG-Corp/aplicacion/entorno/lib/python2.7/site-packages/audiofield/fields.py", line 259, in _set_audio_converted
filename = self.generate_filename(instance, os.path.basename(getattr(instance, self.name).path))
File "/Users/oscarelotero/Documents/Reingeniamos/Proyectos/AG-Corp/aplicacion/entorno/lib/python2.7/site-packages/django/db/models/fields/files.py", line 64, in _get_path
return self.storage.path(self.name)
File "/Users/oscarelotero/Documents/Reingeniamos/Proyectos/AG-Corp/aplicacion/entorno/lib/python2.7/site-packages/django/core/files/storage.py", line 114, in path
raise NotImplementedError("This backend doesn't support absolute paths.")
The text was updated successfully, but these errors were encountered:
I have got it working... not perfect but it works. I needed to rewrite part of the django-audiofield fields.py. Specifically the def _rename_audio and def _set_audio_converted as they both included the path method which doesn't work if you are not serving your static files from local.
I just commented these methods out for now, which is obviously a bad long-term move. The File Storage API is just outside of my wheelhouse, otherwise I'd make a PR :-)
Problems with django-storages and django-boto when run
manage.py collectstatic
The text was updated successfully, but these errors were encountered: