mirror of
https://github.com/django-components/django-components.git
synced 2025-07-24 16:53:47 +00:00
ignore .pyc files in collectstatic
This commit is contained in:
parent
80f116d289
commit
814f526658
1 changed files with 5 additions and 1 deletions
|
@ -15,4 +15,8 @@ class SaferStaticFilesConfig(StaticFilesConfig):
|
|||
default = (
|
||||
True # Ensure that _this_ app is registered, as opposed to parent cls.
|
||||
)
|
||||
ignore_patterns = StaticFilesConfig.ignore_patterns + ["*.py", "*.html"]
|
||||
ignore_patterns = StaticFilesConfig.ignore_patterns + [
|
||||
"*.py",
|
||||
"*.html",
|
||||
"*.pyc",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue