Skip to content

Commit

Permalink
bump django
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed May 12, 2024
1 parent 89ff9a3 commit e9687da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django==4.1.13
django==4.2.13
psycopg2
django-storages[azure]
argon2-cffi
Expand Down
9 changes: 8 additions & 1 deletion tenttiarkisto/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ def get_env_var(name):
}
}

DEFAULT_FILE_STORAGE = 'storages.backends.azure_storage.AzureStorage'
STORAGES = {
'default': {
'BACKEND': 'storages.backends.azure_storage.AzureStorage',
},
'staticfiles': {
'BACKEND': 'storages.backends.azure_storage.AzureStorage',
},
}

AZURE_ACCOUNT_NAME = get_env_var('EXAM_ACCOUNT_NAME')
AZURE_ACCOUNT_KEY = get_env_var('EXAM_ACCOUNT_KEY')
Expand Down

0 comments on commit e9687da

Please sign in to comment.