Closed
Description
Advanced page settings raises TypeError: __str__ returned non-string (type __proxy__)
exception.
Constant "Inherit the template of the nearest ancestor" (cms.utils.conf) is wrapped in ugettext_lazy 2 times. First in cms.utils.conf, then in cms.models.pagemodel (template_choices
attribute). This raises exception when casting to str:
from cms.models import Page
str(Page.template_choices[-1][1])
Environment
- Python version: 3.6.5
- Django version: 2.1.8
- django CMS version: 3.6.0