-
Notifications
You must be signed in to change notification settings - Fork 346
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
Upgrading to Django 4.0 gives me "AttributeError: 'SafeString' object has no attribute 'get_bundle'" #319
Comments
The _get_bundle protocol has changed (which is fair enough as it is 'internal/private' in spite of my having needed it).
It looks like the "chunks" in the webpack-stats file generated by the bundle tracker are no longer appropriate. To solve this I had to upgrade the webpack npm packages to the latest versions too and then do a build in order to run the tracker and generate updated stats for use by the django python files. |
Thanks, always update together the |
I've upgraded the venv from python 3.9.2/django 3.0.2 to Python 3.10.4/django 4.0.4 - django-webpack-loader is 1.5.0
The template is unchanged:
I can't find anything online about this.
The text was updated successfully, but these errors were encountered: