Skip to content

Commit

Permalink
Merge pull request #1092 from uktrade/fix/update-whitenoise
Browse files Browse the repository at this point in the history
Fix - Update whitenoise usage for 6.4.0
  • Loading branch information
Miriam Forner authored Jun 1, 2023
2 parents 05f0507 + 15f91c1 commit 9dbd5b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles')
STATIC_HOST = env.str('STATIC_HOST', '')
STATIC_URL = STATIC_HOST + '/static/'
STATICFILES_STORAGE = env.str('STATICFILES_STORAGE', 'whitenoise.storage.CompressedManifestStaticFilesStorage')
STATICFILES_STORAGE = env.str('STATICFILES_STORAGE', 'whitenoise.storage.CompressedStaticFilesStorage')
DEFAULT_FILE_STORAGE = env.str('DEFAULT_FILE_STORAGE', 'core.storage_backends.ImmutableFilesS3Boto3Storage')

# Logging for development
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ django-environ==0.*
gunicorn==20.*
sentry-sdk==1.*
django_storages==1.13.*
whitenoise==6.*
whitenoise==6.4.*
dj-database-url==2.*
psycopg2==2.9.* --no-binary psycopg2
django-pglocks==1.0.*
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ amqp==5.1.1
# via kombu
anyascii==0.3.2
# via wagtail
asgiref==3.7.1
asgiref==3.7.2
# via django
async-timeout==4.0.2
# via redis
Expand Down Expand Up @@ -61,7 +61,7 @@ cron-descriptor==1.4.0
# via django-celery-beat
cryptography==39.0.2
# via -r requirements.in
directory-components==39.1.0
directory-components==39.1.2
# via -r requirements.in
directory-constants==23.1.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ amqp==5.1.1
# via kombu
anyascii==0.3.2
# via wagtail
asgiref==3.7.1
asgiref==3.7.2
# via django
async-timeout==4.0.2
# via redis
Expand Down Expand Up @@ -71,7 +71,7 @@ cron-descriptor==1.4.0
# via django-celery-beat
cryptography==39.0.2
# via -r requirements.in
directory-components==39.1.0
directory-components==39.1.2
# via -r requirements.in
directory-constants==23.1.0
# via
Expand Down

0 comments on commit 9dbd5b6

Please sign in to comment.