1
0

Add static files dir

This commit is contained in:
Marcel Schwarz 2022-07-30 14:09:19 +02:00
parent b20b657544
commit 389f2bc6d1
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

6
clubhaus/.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@ -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',