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
Wagtail StreamForms should be resilient to projects that set USE_I18N=False in the main project settings or the installation docs should include a caveat that users of Wagtail StreamForms should set USE_I18N=True
Actual behaviour
Accessing the admin UI raises a TypeError:
TypeError at /admin/wagtailstreamforms/form/
__str__ returned non-string (type __proxy__)
Switching USE_I18N to True fixes the error.
Steps to reproduce the behaviour
Create a new project with Wagtail and Wagtail StreamForms (I'm using Django-3.1.5, wagtail-2.11.3 and wagtailstreamforms-3.13)
In settings/base.py set USE_I18N=False
Access the admin UI in a browser (doesn't matter if you're logged in or not)
TypeError 💥
The text was updated successfully, but these errors were encountered:
Expected behaviour
Wagtail StreamForms should be resilient to projects that set
USE_I18N=False
in the main project settings or the installation docs should include a caveat that users of Wagtail StreamForms should setUSE_I18N=True
Actual behaviour
Accessing the admin UI raises a TypeError:
Switching
USE_I18N
toTrue
fixes the error.Steps to reproduce the behaviour
settings/base.py
setUSE_I18N=False
The text was updated successfully, but these errors were encountered: