﻿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
9729	Saving a model instance without CharField primary key does not raise IntegrityError	Pam	nobody	"Hi,

I have a model with a CharField as primary key. I then write a unit test where I'm not inserting the primary key but other required fields. I save the instance with force_insert=True (I'm using Django 1.0.2). Django saves this as blank string """" and not raising IntegrityError. I even tried adding Blank=False, but still gets the same result. Is this an expected behavior?

Regards,
Pam"		closed	Uncategorized	1.0		invalid			Unreviewed	0	0	0	0	0	0
