﻿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
5912	Models not enforcing required fields	Tom Christensen <pavera@…>	nobody	"Creating an instance of a model with !CharFields will fill DB fields with single quotes ({{{''}}}) if the !CharField is not populated.
{{{
class Person(models.Model):
  first_name = models.CharField(max_length=50)
  last_name = models.CharField(max_length=50)

person = Person()
person.first_name
''
person.save()
}}}

Resulting DB record: first_name = {{{''}}}, last_name = {{{''}}}

Using PostgreSQL 8.1 as the DB server... psycopg2 as the driver.  I'm running the latest SVN just updated this morning."		closed	Database layer (models, ORM)	dev		invalid			Accepted	0	0	0	0	0	0
