V
V
Vladislav Sklyar2015-07-19 13:12:09
Django
Vladislav Sklyar, 2015-07-19 13:12:09

How to display text styled with CKEditor?

Hello Toaster!! There was a problem using django-ckeditor, the text that I save to the database looks like a line of HTML code. When displaying text in a post (blog), it displays the HTML code of the line itself (what is stored in the database). How can I display a styled blog post? Throw off examples of using django-ckeditor or articles where you can read the solution to the problem.
Thank you very much in advance!!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2015-07-19
@VladSkliar

safe filter.
{{ something|safe }}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question