﻿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
12360	Improve db.models.loading.load_app ImportError handling	dmach	nobody	"I copied a django project from server to my workstation to dump the sqlite database (I have more RAM here).[[BR]]
I was wondering why dumpdata didn't dump all tables.[[BR]]
When I ran `manage.py dumpdata <app>`, django kept telling me: Error: Unknown application: <app>[[BR]]
I found that some apps used older version of a 3rd party library which didn't have some features implemented yet.


Such errors are well hidden and the reason is that load_app doesn't distinguish between these 2 cases:[[BR]]
- app.models doesn't exist[[BR]]
- ImportError is raised in app.models (or any module imported in app.models)[[BR]]


Attached patch should fix this problem."		closed	Database layer (models, ORM)	1.1		duplicate		permonik@…	Unreviewed	1	0	0	0	0	0
