From 389f2bc6d167cd25937ea390abf5538d7931bc5a Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sat, 30 Jul 2022 14:09:19 +0200 Subject: [PATCH] Add static files dir --- .gitignore | 1 + clubhaus/.idea/vcs.xml | 6 ++++++ clubhaus/clubhaus/settings.py | 1 + 3 files changed, 8 insertions(+) create mode 100644 clubhaus/.idea/vcs.xml diff --git a/.gitignore b/.gitignore index 3997705..1e18bb2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ __pycache__ +clubhaus/static/**/* # Created by https://www.toptal.com/developers/gitignore/api/jetbrains # Edit at https://www.toptal.com/developers/gitignore?templates=jetbrains diff --git a/clubhaus/.idea/vcs.xml b/clubhaus/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/clubhaus/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/clubhaus/clubhaus/settings.py b/clubhaus/clubhaus/settings.py index 666a326..88147fd 100644 --- a/clubhaus/clubhaus/settings.py +++ b/clubhaus/clubhaus/settings.py @@ -112,6 +112,7 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.0/howto/static-files/ +STATIC_ROOT = BASE_DIR / "static/" STATIC_URL = 'static/' STATICFILES_FINDERS = [ 'django.contrib.staticfiles.finders.FileSystemFinder',