You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works but I get an ugly log (DEBUG=True) message because django_json_widget.html template asks {% if not widget.attrs.style %} but style does not exist in attrs.
I had the same issue. I resolved it by creating a fork at https://github.com/kc2684/django-json-widget and adding a "style" variable to "widgets.py" and then use "widget.style" in django_json_widget.html instead of "widget.attr.style"
Description
It works but I get an ugly log (DEBUG=True) message because
django_json_widget.html
template asks{% if not widget.attrs.style %}
butstyle
does not exist inattrs
.I defined my form like this:
My recommendation is to replace in that template:
by
The text was updated successfully, but these errors were encountered: