﻿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
19428	"Django 1.5b1 raises ""The SECRET_KEY setting must not be empty."" even if it is set in an imported file"	nick@…	nobody	"My SECRET_KEY lives in a file called settings_common.py that is imported on the first line of settings.py at the various stages of development using:

{{{#!python
from settings_common import *
}}}

settings.py then contains DATABASES and DEBUG settings only. This worked fine in Django 1.4 however Django 1.5b1 is saying that SECRET_KEY is not set even though it is.

I have added
{{{#!python
print self.SECRET_KEY
}}}
statements around the SECRET_KEY checker in django/conf/__init__.py and if the ImproperlyConfigured exception is commented out they display the key properly. However if the exception is allowed to raise, they appear blank."	Bug	closed	Uncategorized	1.5-beta-1	Normal	worksforme			Unreviewed	0	0	0	0	1	0
