On Friday, 19 July 2013 11:31:27 UTC+2, Tom Evans wrote:
>
> On Thu, Jul 18, 2013 at 10:31 PM, sephii >
> wrote:
> > Hello,
> >
> > I'm trying to output a simple form but the label_tag() method tries to
> > escape the field label twice. Here's what I have:
> >
> > # models.py
> > # _ is uge
On Fri, Jul 19, 2013 at 4:09 PM, sephii wrote:
> Anyway it looks like a bug so I'll just report it.
Can you test things easily with the in-development 1.6 and trunk?
There have been a few changes to that code lately and the issue could have been
fixed. It's the kind of change that isn't backport
On Thu, Jul 18, 2013 at 10:31 PM, sephii wrote:
> Hello,
>
> I'm trying to output a simple form but the label_tag() method tries to
> escape the field label twice. Here's what I have:
>
> # models.py
> # _ is ugettext_lazy, if it matters
> class MyModel(models.Model):
> name = models.CharFiel
Hello,
I'm trying to output a simple form but the label_tag() method tries to
escape the field label twice. Here's what I have:
# models.py
# _ is ugettext_lazy, if it matters
class MyModel(models.Model):
name = models.CharField(_('My label'))
# forms.py
class MyForm(forms.ModelForm):
4 matches
Mail list logo