djangocodemirror

Django CodeMirror is a Django application to embed CodeMirror

MIT License

Downloads
4.5K
Stars
32
Committers
2

.. _CodeMirror: http://codemirror.net/ .. _Django: https://www.djangoproject.com/ .. _django-assets: http://pypi.python.org/pypi/django-assets

Django CodeMirror

This is a Django_ application to embed CodeMirror_.

It works exclusively from configuration sets to manage CodeMirror options and assets. A dedicated field, widget and some template tags are available to make CodeMirror instances using these configurations on any element.

Since configurations are aware of every assets to load this enable you to use CodeMirror without a Javascript module loader (like Browserify or RequireJS).

Links


  • Read the documentation on Read the docs <http://djangocodemirror.readthedocs.io/>_;
  • Download its PyPi package <https://pypi.python.org/pypi/djangocodemirror>_;
  • Clone it on its Github repository <https://github.com/sveetch/djangocodemirror>_;

Dependancies


  • Django_ >= 1.10;
  • Optionally django-assets_;

Credits


CodeMirror is a software from Marijn Haverbeke [email protected] under MIT license.