cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
11.83k stars 2.84k forks source link

Add cloudflare to cloud provider options #5060

Open Cdingram opened 2 months ago

Cdingram commented 2 months ago

Description

I like to use cloudflare for my "cloud provider", it would be great to have this option.

Rationale

Cloudflare is a great and cost effective option.

jkaeske commented 2 months ago

Also DigitalOcean could be added here. Both are supported by django-storages, so that should be straight forward. @browniebroke is that something that should be done?

foarsitter commented 2 months ago

If they send over an engineer to support it that would be great!

browniebroke commented 2 months ago

Also DigitalOcean could be added here.

No, for digital ocean, we've had this one open for a while... https://github.com/cookiecutter/cookiecutter-django/issues/1878

jkaeske commented 2 months ago

Also DigitalOcean could be added here.

No, for digital ocean, we've had this one open for a while... #1878

I just tested this, it works perfectly fine. With the new dict-style storages config of Django 4.2 and "default_acl": "public-read" the media files can be made public. I can make a PR and you can check it out.

browniebroke commented 2 months ago

I can make a PR and you can check it out.

Sure