'Database assignment is retained if an object is retrieved with select_related()'

def test_select_related(self):

    mark = Person.objects.using(u'other').create(name=u'Mark    Pilgrim')
    dive = Book.objects.using(u'other').create(title=u'Dive    into    Python', published=datetime.date(2009, 5, 4), editor=mark)
    book = Book.objects.using(u'other').select_related(u'editor').get(title=u'Dive    into    Python')
    self.assertEqual(book.editor._state.db, u'other')
