﻿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
22660	Dependencies between non-migrated and migrated apps break migration	Iacopo Spalletti	nobody	"If models for `app_sec` depends on models from `app_main` (because of foreign keys or parentship) and models in `app_main` have non trivial dependencies between them, migrate cannot resolve bases or cannot load models.
I've setup an example project https://github.com/yakky/migrations_poc to clarify class relationships.
Transform `app_sec` in a migrated app or using `run_before` attribute on `app_main` migrations may not be a viable solution: `app_sec` may not be under developer control or can be unknown at the time of creating migrations (e.g.: if `app_main` is a general available application and `app_sec` is a random application reusing models from `app_main`).

Real world case here is django CMS"	Bug	closed	Migrations	1.7-beta-2	Release blocker	fixed	migrations, dependencies		Accepted	0	0	0	0	0	0
