#3434: [patch] change_stage is broken for models with no editable fields
-------------------------------+--------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian         
  Status:  new                 |   Component:  Admin interface
 Version:  SVN                 |    Keywords:                 
   Stage:  Unreviewed          |   Has_patch:  0              
-------------------------------+--------------------------------------------
 render_change_form raises an IndexError (list index out of range)
 for models that have no editable fields.  This may sound weird, but
 it actually makes sense in some situations, ie. for a model that
 serves only as a foreignkey target with edit_inline.
 
 I only tested this for the old admin, but from the source code
 it appears that the newforms one has the same problem.  The patch
 is for old admin, but fixing newforms-admin is just as simple.

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

Reply via email to