﻿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
23495	ImportError silenced	papaloizouc	nobody	"Hi sometimes i get import errors silenced by {{{django/conf/__init__.py}}} source code link [https://github.com/django/django/blob/885ff6845e54511022677c1f28b84ddd4f2165dd/django/conf/__init__.py#L94]

I comment out the {{{except ImportError as e:}}} in order to get a proper stacktrace on where my code crashed. 

So for example models.py imports from util.py that actually does not exist i get error {{{ImportError: Could not import settings 'sharehoods.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named util}}}. Because this is not clear what happened in the source code, i uncomment the exception catch in the source code and then i get the real stacktrace where the import error happened in my code so i know how to fix it. I'm not sure why the exception is silenced and re-raised but i personally always have it commented out on my pc so i thought i should mention."	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed	exceptions, import, conf, settings		Ready for checkin	1	0	0	0	0	0
