#19421: When RelatedModel.__unicode__ fails, InlineModelAdmin are not displayed
-------------------------------+--------------------------------------
     Reporter:  benjaoming     |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  contrib.admin  |                  Version:  1.4
     Severity:  Normal         |               Resolution:  worksforme
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by lukeplant):

 I had something like this not long ago, but found it depended on the value
 of DEBUG. With DEBUG==True, everything worked fine, but with DEBUG==False
 you got silent failure and the inline simply disappeared.

 In my case, it was a `UnicodeDecodeError` or `UnicodeEncodeError` in the
 `__unicode__` method. I ran out of time debugging in.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19421#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to