how to add tinymce4 in dJango admin with easiest mathjax

 



PREREQUISITS:
    * you have to manage naimurs already available django template code or make the django adopt ascii-mathjax tinymce 'https://github.com/Axel186/mathsymbols-tinymce-plugin'

STEPS:
    * Copy the textarea.html in an app templates dir
    * copy static files in static_env folder or some other name folder in root dir but not 'static'
    * add templates and static_env dir in django settigns
    * copy widgets.py
    * create forms.py
    * copy parts of code from forms.py as per your requirement.
    * add the form in admin.py

Comments