﻿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
31661	Improve makemigrations warning message when calling without an active database connection.	David Smith	David Chorpash	"I was looking at the gis install instructions and I came across an error when running makemigrations. (Error is I had not entered password correctly). 

However, the error message that is generated is a bit odd, it has a full stop on a new line and shows `warnings.warn(`

I was also able to get the same error message on a clean project, with a postgres database (not gis) and an incorrect password. 

I'm not sure if this is a 'bug' but it doesn't look quite right? 


{{{
(gis) PS C:\Users\smith\gis\geodjango> python .\manage.py makemigrations
c:\users\smith\pycharmprojects\django2\django\core\management\commands\makemigrations.py:105: RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': fe_sendauth: no password supplied
.
  warnings.warn(
No changes detected
(gis) PS C:\Users\smith\gis\geodjango>
}}}
"	Cleanup/optimization	closed	Core (Management commands)	dev	Normal	fixed			Accepted	1	0	0	0	1	0
