Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout de l'authentification à deux facteurs #63

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Finish the sass configuration
  • Loading branch information
Ash-Crow committed Dec 7, 2023
commit 858fde6424a8c4bfc98035388b873bcf145bf604
5 changes: 3 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
@@ -158,9 +158,9 @@
# https://whitenoise.evans.io/en/latest/

STATICFILES_FINDERS = [
"django.contrib.staticfiles.finders.FileSystemFinder",
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
"sass_processor.finders.CssFinder",
"django.contrib.staticfiles.finders.FileSystemFinder",
]

# S3 uploads & MEDIA CONFIGURATION
@@ -179,7 +179,8 @@
MEDIA_URL = "medias/"

# Django Sass
SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR, "static")
SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR, "static/css")
SASS_PROCESSOR_AUTO_INCLUDE = False

STATIC_URL = "static/"
STATIC_ROOT = "staticfiles"