Preparing for SASS

This commit is contained in:
Ludovic Stephan 2020-11-20 17:46:39 +01:00
parent f621aa917f
commit d8b35e3be3
2 changed files with 6 additions and 1 deletions

5
kadenios/apps.py Normal file
View file

@ -0,0 +1,5 @@
from django.contrib.staticfiles.apps import StaticFilesConfig
class IgnoreSrcStaticFilesConfig(StaticFilesConfig):
ignore_patterns = StaticFilesConfig.ignore_patterns + ["src/**"]

View file

@ -36,7 +36,7 @@ INSTALLED_APPS = [
"django.contrib.contenttypes", "django.contrib.contenttypes",
"django.contrib.sessions", "django.contrib.sessions",
"django.contrib.messages", "django.contrib.messages",
"django.contrib.staticfiles", "kadenios.apps.IgnoreSrcStaticFilesConfig",
"elections", "elections",
] ]