﻿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
7853	Problem with model inheritance when parent has relation to self	osanha@…	nobody	"Test models:
{{{
class Parent(models.Model):
    s = models.ForeignKey('self', null=True, blank=True)
    a = models.TextField()
    
class Child(Parent):
    b = models.TextField()
}}}


Test session:
{{{
>>> child = Child.objects.create(a='parent field', b='child field')
>>> child.delete()
Traceback (most recent call last):
...
ProgrammingError:  ""s_id"" column is not exist at ""forums_child"" relation.
}}}

These error was begined at 0.97-pre-SVN-8007
as I know, previous version is not shown these errors.

"		reopened	Database wrapper	dev			model inheritance		Unreviewed	0	0	0	0	0	0
