Skip to content
Snippets Groups Projects
Verified Commit 82532336 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add storages to installed apps

parent d3a86f44
No related branches found
No related tags found
1 merge request!534Resolve "Support S3 storage for media"
Pipeline #6593 passed
......@@ -89,7 +89,6 @@ INSTALLED_APPS = [
"polymorphic",
"django_global_request",
"dbbackup",
"storages",
"django_celery_beat",
"django_celery_results",
"celery_progress",
......@@ -786,6 +785,8 @@ MEDIABACKUP_CHECK_SECONDS = _settings.get("backup.media.check_seconds", 7200)
PROMETHEUS_EXPORT_MIGRATIONS = False
if _settings.get("storage.s3.enabled", False):
INSTALLED_APPS.append("storages")
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3BotoStorage"
if _settings.get("storage.s3.static.enabled", False):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment