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 11053,access to OneToOneField when null=True should return None instead of raising DoesNotExist,Harm Geerts ,nobody,"{{{ class Place(models.Model): name = models.CharField(max_length=50) class UndergroundBar(models.Model): place = models.OneToOneField(Place, null=True) }}} Django behaves differently with access to the OneToOneField depending on which side of the relation is used. Currently UndergroundBar.place will return None while Place.undergroundbar raises DoesNotExist.",,closed,"Database layer (models, ORM)",dev,,duplicate,,,Unreviewed,1,0,0,0,0,0