Answer the question
In order to leave comments, you need to log in
How to connect Markdown to models?
Hello dear!!!
There was a problem with inserting an editor to the project,
in general there is a Firms class
class Firms(models.Model):
name = models.CharField(max_length=255, verbose_name="Название фирмы")
photo = models.ImageField(upload_to="doctors_photos", verbose_name="Фото")
specs = models.CharField(max_length=1000, verbose_name="Специализация")
regime = models.TextField(default="", verbose_name="Режим работы")
.
.
.
Answer the question
In order to leave comments, you need to log in
You override save() in the model or in the ModelForm through which you save
from text to html everything turns like this
But it's better to render in the template
stackoverflow.com/questions/16689334/troubleshooti...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question