django-fobi/examples/simple/settings/override_select_model_object_plugin.py

17 lines
336 B
Python
Raw Normal View History

from nine.versions import DJANGO_GTE_1_7
2016-10-17 01:30:09 +00:00
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