﻿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
16450	UserProfile filtering breaks between Django 1.2.5 and 1.3	bjorn@…	nobody	"I guess this will be closed as invalid, but here goes my best attempt.

When upgrading from Django 1.2.5 to 1.3 the following code breaks:
{{{
users = self.users.filter(userprofile__public_profile=True).order_by('first_name')
}}}

Cannot resolve keyword 'userprofile' into field.

UserProfile has a foregin key to User:

{{{
user = models.ForeignKey(User, unique=True)
}}}

Other foreignkey models are still valid keys so i figured it might have to do with the custom user profile feature.
"	Bug	closed	Uncategorized	1.3	Normal	worksforme			Unreviewed	0	0	0	0	0	0
