Closed poswald closed 9 years ago
This issue seems to go away, when you pass in a unicode literal as the second argument to pgettext_lazy
:
my_thing = models.CharField(
pgettext_lazy('Context for this widget', u'Name'),
blank=True,
max_length=200)
But I cannot say exactly yet why this is happening. Might be a django related issue though..
Is this still relevant for you? I will close it since it sits there already for a long time without response. Feel free to reopen this ticket or create a new one if you think this is a still valid bug in django-floppyforms.
In the past I've been able to add translation context with this pattern on models:
When you try to render a model form with this I get: