﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6951	edit_inline lazy translation fails in history log.	Michiel	nobody	"When using edit_inline and object uses a lazy translation for model names and/or field names.
History will show code below instead of field names and/or the model name. 
{{{
<django.utils.functional.__proxy__ object at 0x8ad760c> for <django.utils.functional.__proxy__ object at 0x8aff06c>
}}}

Example models.py, not working just showing setup of inline and ugettext_lazy use.

{{{
#!python
from django.db import models
from django.utils.translation import ugettext_lazy as _

class Parent(models.Model):
    """"""
    Regular object
    """"""
    class Admin:
        pass

class Inline(models.Model):
    """"""
    Inline object related to parent
    """"""
    parent = models.ForeignKey(Parent, edit_inline=models.STACKED)
    note = models.CharField(_(""note""), max_length=100)

    class Meta:
        verbose_name = _(""Inline item"")
        verbose_name_plural = _(""Inline Items"")
}}}
"		closed	contrib.admin	dev		fixed	nfa-fixed		Fixed on a branch	0	0	0	0	0	0
