forked from DGNum/gestioCOF
Ignore /src
directories
This commit is contained in:
parent
337453c6c6
commit
898abd15c6
2 changed files with 6 additions and 2 deletions
5
cof/apps.py
Normal file
5
cof/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from django.contrib.staticfiles.apps import StaticFilesConfig
|
||||
|
||||
|
||||
class IgnoreSrcStaticFilesConfig(StaticFilesConfig):
|
||||
ignore_patterns = StaticFilesConfig.ignore_patterns + ["src/**"]
|
|
@ -64,8 +64,7 @@ INSTALLED_APPS = [
|
|||
"django.contrib.sessions",
|
||||
"django.contrib.sites",
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
# Must be before django admin
|
||||
"cof.apps.IgnoreSrcStaticFilesConfig", # Must be before django admin
|
||||
# https://github.com/infoportugal/wagtail-modeltranslation/issues/193
|
||||
"wagtail_modeltranslation",
|
||||
"wagtail_modeltranslation.makemigrations",
|
||||
|
|
Loading…
Reference in a new issue