Django-storages: Bug: using google bucket with uniform access, the file is uploaded, ImageField value is not set.

Created on 5 Dec 2020  路  4Comments  路  Source: jschneier/django-storages

Hello!
I've got a bucket with uniform access at my hands, I have set everything up accoring to the documentation
(set GS_DEFAULT_ACL to None and set GS_QUERYSTRING_AUTH to False)

Now django uploads the file, but fails to set the model field value.
I.e. the image gets uploaded, but ImageField value remains None.

Most helpful comment

Awesome, thanks for the release!

All 4 comments

The flag GS_QUERYSTRING_AUTH hasn't been released to PyPI yet. Try installing django-storages from github directly:

pip install -e 'git+https://github.com/jschneier/django-storages.git#egg=django-storages'

And it should work. Cheers!

This was released.

Awesome, thanks for the release!

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sheepeatingtaz picture sheepeatingtaz  路  7Comments

vdboor picture vdboor  路  4Comments

jroeland picture jroeland  路  7Comments

david-alejandro-reyes-milian picture david-alejandro-reyes-milian  路  8Comments

WhyNotHugo picture WhyNotHugo  路  6Comments