Skip to content

Logos in media folder #383

Answered by cor14095
hcwinsemius asked this question in Q&A
Apr 18, 2024 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

Hi, I stumble through this issue and got around it kinda simple. But It was hard for me to figure out the pieces so I'll leave this here and look to open a PR to enhance documentarion.

First of all in my settings.py I have something like this:

# AWS Configuration
    AWS_ACCESS_KEY_ID = os.getenv("AWS_ACCESS_KEY_ID")
    AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY")
    AWS_STORAGE_BUCKET_NAME = os.getenv("AWS_STORAGE_BUCKET_NAME", "example-bucket")
    AWS_S3_REGION_NAME = os.getenv("AWS_S3_REGION_NAME", "us-east-1")

# Default file storage (This is kinda the important part)
    DEFAULT_FILE_STORAGE = os.getenv("DEFAULT_FILE_STORAGE", "django.core.files.storage.FileSystemSto…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@hcwinsemius
Comment options

@fabiocaccamo
Comment options

Comment options

You must be logged in to vote
6 replies
@cor14095
Comment options

@merwok
Comment options

@cor14095
Comment options

@merwok
Comment options

@fabiocaccamo
Comment options

Answer selected by fabiocaccamo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
4 participants