From 05c3fed18cbb48a6ec854b3ba332ebfa2179ce57 Mon Sep 17 00:00:00 2001 From: Conrad Date: Tue, 14 Jan 2020 00:38:44 +0100 Subject: [PATCH] Added static directory --- src/asiimov/settings.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/asiimov/settings.py b/src/asiimov/settings.py index f5ec3bc..89e282e 100644 --- a/src/asiimov/settings.py +++ b/src/asiimov/settings.py @@ -103,18 +103,19 @@ AUTH_PASSWORD_VALIDATORS = [ # https://docs.djangoproject.com/en/3.0/topics/i18n/ LANGUAGE_CODE = 'en-us' - TIME_ZONE = 'UTC' - USE_I18N = True - USE_L10N = True - USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.0/howto/static-files/ - STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static/') +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'common/static_files') +] + +# Steam API variables STEAM_API_KEY = os.environ['STEAM_API_KEY']