﻿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
4136	Save empty, nullable CharField's as null rather than as an empty string	David Cramer <dcramer@…>	Tim Graham <timograham@…>	"When Django sends an update to MySQL for a NULL field it does not insert it as NULL (when you are in the admin).

e.g.
You have an openid_key field, which is the url of the users openid url. This url has to be unique and should be marked as such for db integrity.

You go into the admin and edit a user, they have no openid_key. You save the user. All is fine.

You go into the admin and edit a different user, they have no openid_key. You save the user. SQL throws a fit about the key needs to be unique.

Django tried to insert """" instead of NULL for this field."	New feature	closed	Forms	dev	Normal	fixed		listuser@… sean@… ironfroggy@… Ashutosh Dwivedi m.r.sopacua@… riccardo.magliocchetti@… cmawebsite@… jon.dufresne@…	Ready for checkin	1	0	0	0	0	0
