-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Upgrade backend (Python, Django, Wagtail) #350
Conversation
72a96f6
to
6d0b557
Compare
options.mode !== 'production' ? 'inline-source-map' : undefined, | ||
options.mode !== 'production' ? 'eval-source-map' : undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Django 4.0, ManifestStaticFilesStorage checks for missing files, and the build output with inline-source-map
was failing because of a link to a missing bootstrap.esm.js.map
. Changing the devtool option to eval-source-map
, which is their Recommended choice for development builds with high quality SourceMaps, fixed the issue
wagtailsearch.Query
model towagtailsearchpromotions.Query
:Upgrade the backend across the board:
Fix deprecation warnings(moved to chore: Fix warnings #352)apps.py
url
withre_path
assertEquals
Add workaround for missing source maps (needs further investigation)Fix source map output in webpack*.scss
files)partial_match
for index fields. Search is using the database backend which doesn't support partial matches anyway.Frontend upgrades(moved to chore: Frontend upgrade #354)