From 66b45dd3e82cfb11e8a90eb4c34b9a8e92c88294 Mon Sep 17 00:00:00 2001 From: Tadhg O'Higgins <2626258+tadhg-ohiggins@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:50:00 -0700 Subject: [PATCH 1/5] Turns out this file is redundant; its function is covered by report_submission/storages.py. (#1346) --- backend/audit/storages.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 backend/audit/storages.py diff --git a/backend/audit/storages.py b/backend/audit/storages.py deleted file mode 100644 index b81616cdf4..0000000000 --- a/backend/audit/storages.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.conf import settings -from storages.backends.s3boto3 import S3Boto3Storage - - -class PrivateS3Storage(S3Boto3Storage): - """ - Our S3 settings as a storage class. - """ - - bucket_name = settings.AWS_PRIVATE_STORAGE_BUCKET_NAME - access_key = settings.AWS_PRIVATE_ACCESS_KEY_ID - secret_key = settings.AWS_PRIVATE_SECRET_ACCESS_KEY - location = "" From cf8ac25922901e9fccba70bb36bee6bc8e020c65 Mon Sep 17 00:00:00 2001 From: Tadhg O'Higgins <2626258+tadhg-ohiggins@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:26:51 -0700 Subject: [PATCH 2/5] Use correct Django static affordance so xlink doesn't break in non-local environments. (#1344) --- .../audit/templates/audit/my_submissions.html | 4 +- .../templates/audit/submission-progress.html | 52 +++++++++---------- .../templates/cancel-button.html | 3 +- .../templates/report_submission/step-2.html | 4 +- .../templates/report_submission/step-3.html | 4 +- backend/templates/includes/nav_primary.html | 2 +- 6 files changed, 35 insertions(+), 34 deletions(-) diff --git a/backend/audit/templates/audit/my_submissions.html b/backend/audit/templates/audit/my_submissions.html index f764330df3..2dba4aed83 100644 --- a/backend/audit/templates/audit/my_submissions.html +++ b/backend/audit/templates/audit/my_submissions.html @@ -94,7 +94,7 @@