D
D
Denis Pupchenko2017-04-16 20:54:02
Django
Denis Pupchenko, 2017-04-16 20:54:02

How to insert html code into model field in admin panel?

class Question(models.Model):
    question_text = models.TextField(verbose_name='Вопрос')

For example, to add a subscript 11100111 2 Are there ready-made solutions like:
<sub></sub>
3800f8cd3e9f4c17a6a0fc95d423a6da.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
riot26, 2017-04-16
@denizzzz

https://pypi.python.org/pypi/django-ckeditor
https://pypi.python.org/pypi/django-tinymce

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question