This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/airavata-django-portal-commons.git
The following commit(s) were added to refs/heads/main by this push:
new 1f9e796 Adding clarifying note about django-webpack-loader versions
1f9e796 is described below
commit 1f9e796ba08ce614475c4302e2a05501f42f0993
Author: Marcus Christie <[email protected]>
AuthorDate: Thu Feb 2 16:56:29 2023 -0500
Adding clarifying note about django-webpack-loader versions
---
README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/README.md b/README.md
index 4493800..282c112 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,13 @@ settings_module = sys.modules[__name__]
dynamic_apps.merge_settings(settings_module)
```
+- Note: if the dynamic Django app uses WEBPACK_LOADER, keep in mind that it is
+ important that the version of
+
[django-webpack-loader](https://github.com/django-webpack/django-webpack-loader)
+ and the version of webpack-bundle-tracker be compatible. If you're using
+ django-webpack-loader prior to version 1.0 then a known good pair of versions
+ is django-webpack-loader==0.6.0 and webpack-bundle-tracker==0.4.3.
+
2. Also add
`'airavata_django_portal_commons.dynamic_apps.context_processors.custom_app_registry'`
to the context_processors list: