Skip to content

Conversation

@jawad-khan
Copy link
Member

Remove DEFAULT_FILE_STORAGE and STATICFILES_STORAGES. This addresses issue.

Tested with this yml.

LANGUAGE_CODE: en
MEDIA_STORAGE_BACKEND:
    STORAGES:
        default:
            BACKEND: storages.backends.s3boto3.S3Boto3Storage   
        staticfiles:
            BACKEND: storages.backends.s3boto3.S3Boto3Storage             
    MEDIA_ROOT: /edx/var/discovery/media
    MEDIA_URL: /media/
OPENEXCHANGERATES_API_KEY: ''
PARLER_DEFAULT_LANGUAGE_CODE: en
PARLER_LANGUAGES:

@jawad-khan jawad-khan changed the title fix: removed depricate storage path fix: Removed depricate storage path Dec 5, 2025
@jawad-khan jawad-khan force-pushed the jawad/removed-depricated-storage-vars branch from 3d4e9a9 to c47196f Compare December 9, 2025 07:48
DEFAULT_FILE_STORAGE: storages.backends.s3boto3.S3Boto3Storage
MEDIA_ROOT: media
MEDIA_URL: https://cdn.org/media/
STORAGES:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without STORAGES dict inside prod yaml we cant make these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants