#12599: MultiValueDictKeyError with inline admin, when inline model's ID not
displayed
----------------------------------+-----------------------------------------
 Reporter:  handelaar             |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.1       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 An odd issue, which I don't have the Python-fu to debug fully.

 I have a meta-model called 'Person' (they're parliamentarians, not that
 this matters especially) to which expenses and past Ministerial Offices
 are attached through an AdminInline interface.  If I do not remove line 6
 from the admin.py file attached ("exclude = ('moffice_id',)") then I can't
 save anything on the page because a traceback like the one attached here
 results.  Yay, workaround available, but boo - exposing nasty IDs in
 editable fields where I don't want them.

 I don't know whether the fact that the model Moffice does not use the
 default ID fieldname is a factor here or not.

 Attaching a minimal admin.py and models.py and the traceback generated
 when the admin barfs.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12599>
Django <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.


Reply via email to