Z
Z
Zheka Bear2015-02-09 18:06:44
Django
Zheka Bear, 2015-02-09 18:06:44

How to enable html tags in django admin?

d8a2b36a29264b3e8c611e38a49ae2b0.JPG
As a result, the article is displayed like this, printing html tags as text... How can I fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Abramov, 2015-02-09
@kivsiak

Admin has nothing to do with it. The template engine escapes the output by default.
https://docs.djangoproject.com/en/1.7/topics/templ...
here you can read how it works and is configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question