#8774: ImageField errors in admin inline editing
--------------------------------------+-------------------------------------
Reporter: ramin | Owner: nobody
Status: reopened | Milestone: 1.0
Component: Template system | Version: SVN
Resolution: | Keywords: imagefield admin inline
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by mtredinnick):
I'm not 100% sure what the original problem is here, but there's certainly
a bug. Reading the traceback, the code is blowing up whilst trying to
display the debug page. `force_unicode()` should never fail on a Django
model or field. The line where the traceback ends suggests that it's found
a `__unicode__` attribute on the object, but that method isn't returning a
valid unicode string. So there's something funky going on inside file
fields or image fields or something. We should never, ever be raising an
exception there. The fact that we are says that there's a bug in the
implementation, even if just for printing out the debugging page.
--
Ticket URL: <http://code.djangoproject.com/ticket/8774#comment:8>
Django Code <http://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 this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---