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
Hi, I was getting the same issue in my project using Python 3.4.3 and I figured out that the issue is in the field.html template at line 50. I had to add the check on form.required_css_class into the if statement like the following <label class="control-label {{ classes.label }} {% if field.field.required and form.required_css_class %}{{ form.required_css_class }}{% endif %}" for="{{ field.auto_id }}">{{ field.label }}</label>.
I just can't explain the reason for it.
The second problem is that this works without my change when running through python manage.py runserver in local dev environment, but once I deploy my code and that I run it through nginx and uwsgi it throws the same error as described here.
Any idea on why it just doesn't show or output the empty variable like it does in local dev?
I always see this error in logs, I use:
The text was updated successfully, but these errors were encountered: