upgrade baker-street-corporate-member-zone 0.0.1 to 0.0.2

This commit is contained in:
2018-03-20 14:19:45 +00:00
parent 5ef44f537b
commit 87217dc12c
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,9 @@ class Form(forms.BaseForm):
settings['AUTH_USER_MODEL'] = 'corporate_member_zone.User'
settings['AUTHENTICATION_BACKENDS'] = ['corporate_member_zone.backends.UserAuthenticationBackend']
if not settings['CKEDITOR_CONFIGS']:
try:
settings['CKEDITOR_CONFIGS']
except KeyError:
settings['CKEDITOR_CONFIGS'] = {}
settings['CKEDITOR_CONFIGS']['simple_ckeditor'] = {