forked from DGNum/gestioCOF
Ignore src/
directories
This commit is contained in:
parent
8ea0cb84d1
commit
8a6a3d0994
2 changed files with 6 additions and 1 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 = ["CVS", ".*", "*~", "src"]
|
|
@ -64,7 +64,7 @@ INSTALLED_APPS = [
|
|||
"django.contrib.sessions",
|
||||
"django.contrib.sites",
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"cof.apps.IgnoreSrcStaticFilesConfig",
|
||||
# Must be before django admin
|
||||
# https://github.com/infoportugal/wagtail-modeltranslation/issues/193
|
||||
"wagtail_modeltranslation",
|
||||
|
|
Loading…
Reference in a new issue