﻿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
2944	With Python 2.5 dbshell launches wrong sqlite shell	paul@…	Adrian Holovaty	"manage.py dbshell launches the sqlite on the command line. But the chances of this being the same version as Python 2.5's embedded one are fairly slim. Unfortunately the file format is different between versions so the shell for one version is not necessarily compatible with the Python version. There should be some check of the form:

os.popen(""sqlite3 -version"").read().strip(""\n"") == sqlite3.version

In this case, perhaps Django should fall back to this pseudo-shell thing:

http://docs.python.org/dev/lib/complete_statement.txt
"	defect	closed	Core (Management commands)		normal	invalid		goldner@…	Accepted	0	0	0	0	0	0
