-
Notifications
You must be signed in to change notification settings - Fork 345
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
Config.py enhancement please? #321
Comments
Made a pull request (my first!) #322 |
Hi @kenanmasri Have you added this app to your INSTALLED_APPS = (
...
'webpack_loader',
...
) |
Also, |
Hi @fjsj |
Hello, thanks for the package its awesome.
I had some issues trying to use the
utils
from the package inside my python apps.Due to this line:
django-webpack-loader/webpack_loader/config.py
Line 3 in ef652d4
It means we might be using Django's lazy settings I think. Thus the
settings.py
would not be available:This would in turn give the default configs. At least in my implementation (which is templatetags specifically).
This is my code for reference
a file called
templatetags/core.py
Anyway this is my suggestion:
I moved everything inside
load_config
because it doesn't want to expose other things:Could you please make this change? I couldn't run tests though.
The text was updated successfully, but these errors were encountered: