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.