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 (2,713 forks)batch import
enhancementhacktoberfesthelp wanted

Repository metrics

Stars
 (10,896 stars)
PR merge metrics
 (Avg merge 15h 52m) (58 merged PRs in 30d)

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