from nine.versions import DJANGO_GTE_1_7 from settings import * INSTALLED_APPS = list(INSTALLED_APPS) try: INSTALLED_APPS.append('override_select_model_object_plugin') except Exception as e: pass if DJANGO_GTE_1_7: try: INSTALLED_APPS.remove('south') if 'south' in INSTALLED_APPS else None except: pass