cookiecutter/cookiecutter-django

Add Digital Ocean spaces as storage option

Open

#1,878 opened on Nov 27, 2018

View on GitHub
 (8 comments) (2 reactions) (0 assignees)Python (10,896 stars) (2,713 forks)batch import
enhancementhacktoberfesthelp wanted

Description

Description

those who do not use AWS s3 but use Digitalocean spaces have trouble deploying static and media, the configurations are a little different.

Solution

AWS_S3_ENDPOINT_URL = env(DJANGO_AWS_S3_ENDPOINT_URL)
AWS_LOCATION = env(DJANGO_AWS_LOCATION)

Contributor guide