﻿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
32853	"apps.get_model in RunPython returning ""LookupError: No installed app with label"""	Gordon Wrigley	nobody	"This is just a possible space for catching user errors and warning about them.
I have two apps, a backfill migration created with --empty and using RunPython in app A is using apps.get_model to get a model from app B.
However the migration has no dependency on app B.
Depending on runtime ordering of migrations this may cause a LookupError, or it may work.
It feels like apps.get_model could be noticing that based on the dependency graph the referenced app/model may not exist."	Uncategorized	closed	Uncategorized	3.1	Normal	wontfix		Adam Johnson	Unreviewed	0	0	0	0	0	0
