django-fobi/examples/simple/settings/override_select_model_object_plugin.py
2016-10-17 03:30:09 +02:00

16 lines
336 B
Python

from nine.versions import DJANGO_GTE_1_7
from .base 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