Answer the question
In order to leave comments, you need to log in
How to add a text editor?
Good day. Is it possible to add simpleMDE to the Django admin? If so, how? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
pip install django-simplemde
#settings.py
INSTALLED_APPS = (
# ...
'simplemde',
# ...
)
from django.db import models
from simplemde.fields import SimpleMDEField
class Entry(models.Model):
title = models.CharField(max_length=250, verbose_name=u'Title')
content = SimpleMDEField(verbose_name=u'mardown content')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question