R
R
rm root2020-05-19 17:33:45
Django
rm root, 2020-05-19 17:33:45

Django 3 how to get field from db???

a field in a DB type TextField
how to draw an output with paragraphs???
how it is written to the database
5ec3ee48a92a7148319723.png
here is how it outputs

<p class="card-text">
{{ news.short_describe }} 
</p>

5ec3ee9bd5f22220418187.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-05-19
@rm_root

The linebreaks tag .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question