mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-23 06:19:55 +03:00
Merge pull request #4815 from foarsitter/webpack_deprecated_loader
Fix deprecation warning about renaming of `webpack_loader.loader` to `webpack_loader.loaders`
This commit is contained in:
commit
5083f866d7
|
@ -37,7 +37,7 @@ MEDIA_URL = "http://media.testserver"
|
||||||
{%- if cookiecutter.frontend_pipeline == 'Webpack' %}
|
{%- if cookiecutter.frontend_pipeline == 'Webpack' %}
|
||||||
# django-webpack-loader
|
# django-webpack-loader
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
WEBPACK_LOADER["DEFAULT"]["LOADER_CLASS"] = "webpack_loader.loader.FakeWebpackLoader" # noqa: F405
|
WEBPACK_LOADER["DEFAULT"]["LOADER_CLASS"] = "webpack_loader.loaders.FakeWebpackLoader" # noqa: F405
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
# Your stuff...
|
# Your stuff...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user