diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-16 19:18:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 19:18:55 +0100 |
| commit | bae053d497ba8a8de7e4f725973924bfb1885fd2 (patch) | |
| tree | 79e3954582f62b8f460e20503f8c30838ea3932a /docs | |
| parent | 85366fbca723c9b37d0ac9db1d44e3f1cb188db2 (diff) | |
Refs #21080, Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
Diffstat (limited to 'docs')
| -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 c4295b0d68..374e21cb0f 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -330,6 +330,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.2 Support for finding paths to JavaScript modules in ``import`` and |
