def __unicode__(self):
        return unicode(self.display_name)
Make sure as_sql works with subqueries and primary/replica.
dataset/ETHPy150Open newsapps/django-boundaryservice/boundaryservice/models.py/Boundary.__unicode__--crossover with--dataset/ETHPy150Open django/django/tests/multiple_database/tests.py/RouterTestCase.test_subquery