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 3768,NullBooleanField cannot be a primary key,moof@…,Jacob,"I'm trying to implement the MS SQL Server backend (see #2358) and I find the following regression test in [source:django/trunk/tests/regressiontests/serializers_regress/models.py#4757 the serializer regression tests]: {{{ #!python class NullBooleanPKData(models.Model): data = models.NullBooleanField(primary_key=True) }}} Under MS SQL Server, no nullable field can be a primary key, and so I'm unable to pass this test at all. My suggestion: delete the test. To me, it makes no sense. However, since it seems to be the only test of its type, I suspect it was put in there for a reason. I'd love to hear alternatives as to how to deal with this issue.",,closed,Core (Serialization),dev,,fixed,tests,,Design decision needed,0,0,0,0,0,0