mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-04-30 11:44:49 +00:00
respect column widths
This commit is contained in:
parent
e866e52074
commit
edaf6ea258
1 changed files with 3 additions and 2 deletions
|
|
@ -61,9 +61,10 @@ else:
|
|||
content_help_text = ""
|
||||
|
||||
if settings.DBTEMPLATES_USE_CODEMIRROR and settings.DBTEMPLATES_USE_TINYMCE:
|
||||
raise ImproperlyConfigured("You may use either CodeMirror or TinyMCE with dbtemplates, not both. Please disable one of them.")
|
||||
raise ImproperlyConfigured("You may use either CodeMirror or TinyMCE "
|
||||
"with dbtemplates, not both. Please disable one of them.")
|
||||
|
||||
if settings.DBTEMPLATES_USE_TINYMCE and'tinymce' in settings.INSTALLED_APPS:
|
||||
if settings.DBTEMPLATES_USE_TINYMCE:
|
||||
from tinymce.widgets import AdminTinyMCE
|
||||
TemplateContentTextArea = AdminTinyMCE
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue