﻿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
11738	many2many recursive relationship do not work in DJ 1.1 - second problem	simon_gray99	nobody	"According to the page at:
http://www.djangoproject.com/documentation/models/m2m_recursive/

All that is required to produce a recursive many2many is the following code:
{{{
from django.db import models

class Person(models.Model):
    name = models.CharField(max_length=20)
    friends = models.ManyToManyField('self')
    idols = models.ManyToManyField('self', symmetrical=False, related_name='stalkers')

    def __unicode__(self):
        return self.name
}}}
When I try this exact same code in my application,

I get an immediate complaint that the table 'persons_idols' does not exist.

If I CREATE this table manually then things are OK but the documentation state that DJ is supposed to handle creating this
table when the 'through' flag is NOT used... it doesn't!

Please advise

"		closed	Database layer (models, ORM)	1.1		invalid	many2many recursive missing tables		Unreviewed	0	0	0	0	0	0
