-
Notifications
You must be signed in to change notification settings - Fork 57
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
fix: container replace gettext_lazy with gettext #164
Conversation
@florianRepenn Thanks for reporting and submitting the fix! Have you tested this? I believe the problem lies elsewhere. Maybe you can check? Here container types are imported from the settings
This might need to be run through |
I might be wrong, of course. Can you share the traceback? |
@fsbraun Thanks for replying so fast. I just tested to wrap the line you provided in the Here is the traceback:
|
Ok, I seem to have been wrong here. It is not good practice to use The next thing I noticed is that the container's help text was doubly lazy: |
Yes of cause. I can test it in my setup. Where can I find it? |
It should be a pr in your fork. |
Remove doubly-lazy help text
This works for me. I approved the PR and merged it. |
@florianRepenn Welcome as a new django CMS contributor 🚀!! |
Thanks a lot @fsbraun! |
Thanks for this. This fixes my app having been unable to create or edit Containers. I've installed off of the |
Description
Replacing gettext_lazy with gettext in djangocms_bootstrap4/contrib/bootstrap4_grid/models.py