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

def test_select_related(self):

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