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

14 lines
381 B
Python
Raw Normal View History

2016-10-17 01:30:09 +00:00
from .base import *
2014-10-11 03:54:24 +00:00
INSTALLED_APPS = list(INSTALLED_APPS)
try:
INSTALLED_APPS.remove('south') if 'south' in INSTALLED_APPS else None
INSTALLED_APPS.remove('tinymce') if 'tinymce' in INSTALLED_APPS else None
INSTALLED_APPS.append('captcha')
INSTALLED_APPS.append(
'fobi.contrib.plugins.form_elements.security.captcha'
)
2014-10-11 03:54:24 +00:00
except Exception as e:
pass