#2724: edit_inline ... foreignkey(core=True) bug
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Admin interface
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------+-------------------------------------------
Changes (by [EMAIL PROTECTED]):
* cc: [EMAIL PROTECTED] (added)
Comment:
Whats the error msg?
Here it says: TypeError: 'int' object is unsubscriptable.
Traceback (most recent call last):
File "/usr/local/users/erob/django/django/core/handlers/base.py" in
get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File
"/usr/local/users/erob/django/django/contrib/admin/views/decorators.py" in
_checklogin
55. return view_func(request, *args, **kwargs)
File "/usr/local/users/erob/django/django/views/decorators/cache.py" in
_wrapped_view_func
39. response = view_func(request, *args, **kwargs)
File "/usr/local/users/erob/django/django/contrib/admin/views/main.py" in
add_stage
254. new_object = manipulator.save(new_data)
File "/usr/local/users/erob/django/django/db/models/manipulators.py" in
save
172. if f.core and not isinstance(f, FileField) and
f.get_manipulator_new_data(rel_new_data, rel=True) in (None, ''):
File "/usr/local/users/erob/django/django/db/models/fields/__init__.py" in
get_manipulator_new_data
288. return new_data.get(self.name, [self.get_default()])[0]
TypeError at /sysadmin/polls/poll/add/
'int' object is unsubscriptable
theres no core=True in the foreignkey... however its definitely not
the expected result. is that the same bug we're talking?
many thanks
--
Ticket URL: <http://code.djangoproject.com/ticket/2724#comment:5>
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
-~----------~----~----~----~------~----~------~--~---