HTML escaping of help_text in Django 4.0

2022-01-06 Thread Matt Westcott
Hi, I've noticed that Django 4.0 now applies HTML escaping to help_text in autogenerated forms, as a side-effect of switching to template-based rendering (https://github.com/django/django/commit/456466d932830b096d39806e291fe23ec5ed38d5, https://code.djangoproject.com/ticket/31026) - given a fo

Missing support for gettext fallback translations

2017-05-20 Thread Matt Westcott
Hi all, I've noticed that the django.utils.translation module apparently doesn't recognise gettext's handling of fallback translations when both a territory-specific translation catalog (e.g. Spanish (Spain), 'es_ES') and a generic one (e.g. Spanish, 'es') exist. According to Python's loca