Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-dbtemplates-1.3/dbtemplates/admin.py   django-dbtemplates(Download)
        return mark_safe(u"".join(result))
 
if settings.DBTEMPLATES_USE_CODEMIRROR:
    TemplateContentTextArea = CodeMirrorTextArea
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.")