﻿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
22874	Swappable dependency breaks if swappable model not in first migration of its app	Stephen Burrows	nobody	"Right now, it's impossible to declare a dependency to/from AUTH_USER_MODEL.

Here's the error I'm getting:

{{{
ValueError: Lookup failed for model referenced by field feedback.FeedbackItem.user: brambling.Person
}}}

This is bad on two fronts:

1. From the ""brambling"" side - the side declaring/using an AUTH_USER_MODEL - I can't use the ""feedback"" module because it doesn't declare a dependency on my model - and django doesn't currently support reverse dependencies (unless they're undocumented.)

2. From the ""feedback"" side - the side with migrations and a swappable FK - the app can't be used by anyone who actually has a swappable model, because there's no way to declare a correct migration dependency.

I feel like the correct fix here would be to have a 'swappable dependency'.

This is on stable/1.7.x"	Bug	closed	Migrations	dev	Release blocker	fixed			Accepted	0	0	0	0	0	0
