jschneier / django-storages

https://django-storages.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.69k stars 846 forks source link

Google App Engine #668

Open enriquejosepadilla opened 5 years ago

enriquejosepadilla commented 5 years ago

The documentation @ https://django-storages.readthedocs.io/en/latest/backends/gcloud.html only mentions GKE and GCE. Does this work for GAE, specifically for the newest one that supports python 3?

We are looking to streamline File uploads for projects with our tool @ https://github.com/GoogleCloudPlatform/django-cloud-deploy and came across this.

sww314 commented 5 years ago

@enriquejosepadilla it should support GAE. The API to Google Cloud Storage is the same. The only issue maybe service accounts - the default GAE account may not have the right permissions.

bgrace commented 5 years ago

Yes, it works fine in the 2nd generation standard environment, Python 3 runtime.

przem8k commented 3 years ago

👍 yes, I found it to work mostly perfectly, although I couldn't make it work with GCS buckets with uniform access policy: #909 . My notes on using django-storages on App Engine are @ https://pnote.eu/notes/django-app-engine-user-uploaded-files/ .