cookiecutter/cookiecutter-django

Add Digital Ocean spaces as storage option

Open

#1.878 geöffnet am 27. Nov. 2018

Auf GitHub ansehen
 (8 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Python (10.896 Stars) (2.713 Forks)batch import
enhancementhacktoberfesthelp wanted

Beschreibung

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