﻿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
27581	Second-level proxy fails to inherit reverse relation from parent proxy	Shai Berger	nobody	"Double proxy models are, as has been noted before, a questionable design decision, but they should still work (the reason here: we need more than one Admin interface for the parent proxy class). We have, basically, this:
{{{
class A(models.Model):
    pass

class B(A):
    class Meta:
        proxy=True

class F(models.Model):
    b = models.ForeignKey(B, related_name=""bffs"")

class C(B):
    class Meta:
        proxy=True
}}}

and when we try
{{{
    qset = C.objects.filter(bffs__in=whatever)
}}}
we get ""bffs not recognized, options are ...""

Not sure if this still happens with master, will try to repro later."	Bug	closed	Database layer (models, ORM)	1.8	Normal	fixed			Unreviewed	0	0	0	0	0	0
