diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-16 19:18:55 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-16 19:24:28 +0100 |
| commit | 60be5909a29650a5e7595bbdc4012b0ad0c390af (patch) | |
| tree | 90955749ac03d20d9869e59df9d17fe8fcc0386c /docs/ref | |
| parent | 7fd69e52a53bba9a0c7f29ef283555a9cc9c7f10 (diff) | |
[4.1.x] Refs #21080, Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
Backport of bae053d497ba8a8de7e4f725973924bfb1885fd2 from main.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/staticfiles.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index a0b466ad28..5961670f13 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -325,6 +325,12 @@ argument. For example:: manifest_storage = StaticFilesStorage(location=settings.BASE_DIR) super().__init__(*args, manifest_storage=manifest_storage, **kwargs) +.. admonition:: References in comments + + ``ManifestStaticFilesStorage`` doesn't ignore paths in statements that are + commented out. This :ticket:`may crash on the nonexistent paths <21080>`. + You should check and eventually strip comments. + .. versionchanged:: 4.0 Support for finding paths in JavaScript source map comments was added. |
