Preparing for SASS
This commit is contained in:
parent
f621aa917f
commit
d8b35e3be3
2 changed files with 6 additions and 1 deletions
5
kadenios/apps.py
Normal file
5
kadenios/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
from django.contrib.staticfiles.apps import StaticFilesConfig
|
||||||
|
|
||||||
|
|
||||||
|
class IgnoreSrcStaticFilesConfig(StaticFilesConfig):
|
||||||
|
ignore_patterns = StaticFilesConfig.ignore_patterns + ["src/**"]
|
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue