﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6900	Admin fails on adding empty models	snprbob86@…	nobody	"If you create an empty model with Admin support:

{{{
class X(models.Model):  
  class Admin:
    pass

class Y(models.Model):
  y = models.ForeignKey(X)
  class Admin:
    pass
}}}

Then try to add an X in the admin interface, you get this error:

{{{
Exception Type:  	IndexError
Exception Value: 	list index out of range
Exception Location: 	C:\Program Files\Python25\lib\site-packages\django\contrib\admin\views\main.py in render_change_form, line 206
}}}"		closed	contrib.admin	dev		wontfix			Fixed on a branch	0	0	0	0	0	0
