#4178: ImageField error when edited inline
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Admin interface
Version: SVN | Keywords: ImageField, Admin interface
Stage: Unreviewed | Has_patch: 0
-----------------------------+----------------------------------------------
When I try to use ImageField edited in line from Admin Interface I get
this:
{{{
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in
get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-
packages/django/contrib/admin/views/decorators.py" in _checklogin
55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py"
in _wrapped_view_func
39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/main.py"
in change_stage
329. new_object = manipulator.save(new_data)
File "/usr/lib/python2.5/site-packages/django/db/models/manipulators.py"
in save
165. if rel_new_data[related.opts.pk.name][0]:
IndexError at /admin/micasa/casa/1/
string index out of range
}}}
However when I don't use edit_inline the image is properly uploaded and
stored. I think it's a BUG.
--
Ticket URL: <http://code.djangoproject.com/ticket/4178>
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
-~----------~----~----~----~------~----~------~--~---