﻿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
21284	Errors in the settings.py file result in misleading messages	Anand Kumria	nobody	"
If you have an error in your settings.py, Django 1.6 will give an error indicating that whatever command you are attempting to run does not exist.

$ django-admin.py startproject djtest .
$ python manage.py validate
0 errors found

Now edit djtest/settings.py and put the following in the file:

diff -u djtest.orig/settings.py djtest/settings.py
--- djtest.orig/settings.py	2013-10-17 14:18:51.348674346 +0100
+++ djtest/settings.py	2013-10-17 14:20:07.773667472 +0100
@@ -26,6 +26,7 @@
 
 ALLOWED_HOSTS = []
 
+ENV_FACTOR_STUFF = os.environ['ENV_FACTOR_STUFF']
 
 # Application definition
 
# (i.e. attempt to get something from the environment)

$ python manage.py validate
Unknown command: 'validate'
Type 'manage.py help' for usage.

$ python manage.py runserver
Unknown command: 'runserver'
Type 'manage.py help' for usage.


etc.
"	Bug	closed	Core (Management commands)	1.6-beta-1	Normal	fixed			Accepted	0	0	0	0	1	0
