﻿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
14130	Catching ImportError in manage.py considered dangerous	Setok	nobody	"The basic implementation of manage.py does little else than check for an ImportError on settings. Unfortunately using try-except to check for module existence in Python is not a very good practise. The problem is that it hides any possible import errors that may occur within settings.py. Sure, the error displayed by manage.py does mention that possibility, but only in parenthesis, after bold text about settings.py missing.

Having just spend several hours trying to figure out what was going on I believe that, in balance, it would be better just to let the Python error fall through and for a proper stacktrace to occur. Alternatively try to figure out a way to detect if it was, in fact, the settings module which was missing, or something else. Annoyingly Python's ImportError does not seem to easily have that information available :("		closed	Core (Other)	1.1		fixed	manage settings import sprintnov13	Łukasz Rekucki Béres Botond	Ready for checkin	1	0	0	0	0	0
