Closed GoogleCodeExporter closed 9 years ago
correction: there are
'DELETE', 'file', 'key', 'name',
in form.fields, but no 'owner'
Original comment by A.A.Vasi...@gmail.com
on 2 Aug 2009 at 9:37
Hmm, I saw 'owner', but not 'key' in my tracebacks. I've fixed this and several
other
issues, now. Please test again. The repo now contains Django 1.1 stable. The
Django
team changed a lot of internals, so it wasn't easy to merge everything and fix
all
bugs.
Original comment by wkornew...@gmail.com
on 2 Aug 2009 at 1:48
After update:
ERROR 09:04:04,160] signals.py:9 - Exception in request:
Traceback (most recent call last):
File ".../django/core/handlers/base.py", line 92, in get_response
File ".../django/contrib/admin/sites.py", line 490, in root
File ".../django/views/decorators/cache.py", line 44, in _wrapped_view_func
File ".../django/contrib/admin/sites.py", line 509, in model_page
File ".../django/contrib/admin/options.py", line 1093, in __call__
File ".../django/contrib/admin/options.py", line 765, in add_view
File ".../django/forms/models.py", line 684, in __init__
File ".../django/forms/models.py", line 448, in __init__
File ".../django/forms/formsets.py", line 44, in __init__
File ".../django/forms/formsets.py", line 88, in _construct_forms
File ".../django/forms/models.py", line 697, in _construct_form
File ".../django/forms/models.py", line 472, in _construct_form
File ".../django/forms/formsets.py", line 108, in _construct_form
File ".../django/forms/models.py", line 718, in add_fields
KeyError: 'owner'
trace output changed a bit...
Original comment by A.A.Vasi...@gmail.com
on 2 Aug 2009 at 2:07
Did you try to add "owner" to your FileInline?
Original comment by wkornew...@gmail.com
on 2 Aug 2009 at 2:15
BTW, the change you mentioned was done in Django:
http://code.djangoproject.com/changeset/10619
Original comment by wkornew...@gmail.com
on 2 Aug 2009 at 2:25
I added back a few lines from old django archive and this fixed code for me
Original comment by A.A.Vasi...@gmail.com
on 2 Aug 2009 at 2:28
Attachments:
Yes, adding 'owner' into fields also works
Original comment by A.A.Vasi...@gmail.com
on 2 Aug 2009 at 2:50
OK, then, I won't commit your patch because the respective code got removed
from Django
and aep should mimic Django as much as possible.
Original comment by wkornew...@gmail.com
on 2 Aug 2009 at 3:09
This is OK for me also. Thanks for the hint.
Original comment by A.A.Vasi...@gmail.com
on 2 Aug 2009 at 3:26
Original issue reported on code.google.com by
A.A.Vasi...@gmail.com
on 2 Aug 2009 at 8:47