﻿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
33162	Add __file__ to Settings.	Thomas Güttler	nobody	"Sometimes you have no clue which settings file is active.

For other files I use this pattern, to see which actual file is loaded:



{{{
assert 0, mylib.__file__
}}}

Unfortunately this does not work for `django.conf.settings`:

{{{
AttributeError: 'Settings' object has no attribute '__file__'
}}}

It would be super cool, if this attribute would be available.

Of course I could use:

{{{
        assert 0, os.environ['DJANGO_SETTINGS_MODULE']
}}}

But sometimes the env var is not the actual file."	New feature	closed	Core (Other)	3.2	Normal	wontfix			Unreviewed	0	0	0	0	0	0
