class A (B, C):
def __init__(self, *args, **kwargs):
super(A, self).__init__(*args, **kwargs)
if not 'app_name' in settings.INSTALLED_APPS
class A (C):
def __init__(self, *args, **kwargs):
super(A, self).__init__(*args, **kwargs)