Changes between Version 7 and Version 8 of Ticket #33353
- Timestamp:
- Jan 6, 2022, 8:40:40 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33353 – Description
v7 v8 1 Some django packages include JavaScript files, and nothe sourcemaps.1 Some django packages include JavaScript files, but not the sourcemaps. 2 2 3 Django version 4 introduces a new features of adjusting the URLs of these source map urls. Unfortunately if one does not have these source maps, its generates an error and stops. This seems unncessary that one can't create a release due to an unused third party file.3 Django version 4 introduces a new features of adjusting the URLs of these source map urls. Unfortunately if one does not have these source maps, its generates an error and stops. This seems unncessary that one can't create a release in production due to an unused third party file. 4 4 5 Altohugh I think it should only print a warning, as dicussed below people feel its worthwhile to keep this breaking change that breaks third part packages. Can we at least make it only raise an error if `settings.DEBUG == True`. That way in production where the sourcemaps are used less, its okay.5 Altohugh I think it should only print a warning, as dicussed below people feel its worthwhile to keep this breaking change. Can we at least make it only raise an error if `settings.DEBUG == True`. That way in production where the sourcemaps are used less, its okay. 6 6 7 Alternatively/Additionally, could there be a `settings.SOURCEMAP E_EXCEPTION` etc that allows one to turn off this new break change?7 Alternatively/Additionally, could there be a `settings.SOURCEMAP_EXCEPTION` etc that allows one to turn off this new break change?