﻿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
13375	django model validation error	David Davis	nobody	"I'm having a problem with django svn 12995 that does not exist in 12852. It appears that model validation is broken...

Start a django project 'testme':

{{{
 startproject testme
}}}

inside testme Start an app 'testapp':

{{{
 manage.py startapp testapp
}}}

edit testme/settings.py and add to installed applications:

{{{
 'django.contrib.comments',
 'testapp',
}}}
inside testme/testapp/models.py, simply add:

{{{
 from django.contrib.comments.models import Comment
}}}

Run anything that validates models (syncdb, shell, etc):

{{{
 run manage.py shell
}}}

Will show the model validation error:

{{{
 error: cannot import name Comment
}}}

This worked in svn 12852 but is broken in 12995

Since the comments framework was last changed before 12852, I believe it is in the model validation."		closed	Database layer (models, ORM)	dev		duplicate	models,model validation		Unreviewed	0	0	0	0	0	0
