Changes between Version 7 and Version 8 of Ticket #33353


Ignore:
Timestamp:
Jan 6, 2022, 8:40:40 AM (3 years ago)
Author:
Michael
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33353 – Description

    v7 v8  
    1 Some django packages include JavaScript files, and no the sourcemaps.
     1Some django packages include JavaScript files, but not the sourcemaps.
    22
    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.
     3Django 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.
    44
    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.
     5Altohugh 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.
    66
    7 Alternatively/Additionally, could there be a `settings.SOURCEMAPE_EXCEPTION` etc that allows one to turn off this new break change?
     7Alternatively/Additionally, could there be a `settings.SOURCEMAP_EXCEPTION` etc that allows one to turn off this new break change?
Back to Top