"""
#10811 -- Assigning an unsaved object to a OneToOneField should raise an exception.
"""