respect column widths

This commit is contained in:
Mark Stahler 2012-01-17 22:11:08 -05:00
parent e866e52074
commit edaf6ea258

View file

@ -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: