def _get_m2m_column_name(self, related):
        # If this is an m2m relation to self, avoid the inevitable name clash
        if related.model == related.parent_model:
            return 'from_' + related.model._meta.object_name.lower() + '_id'
        else:
            return related.model._meta.object_name.lower() + '_id'
Test if calling request done works.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/models/fields/related.py/ManyToManyField._get_m2m_column_name--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_configurator.py/TestConfigurator.test_request_done_works