from django.db import models
from ckeditor.fields import RichTextField

class Project(models.Model):
    category = models.ForeignKey(ProjectCategory, on_delete=models.CASCADE)
    client = models.CharField(max_length=100)
    title = models.CharField(max_length=100)
    description = RichTextField(null=True)
    pdf  = models.FileField(null=True, blank=True)
    def __str__(self):
        return self.title 

I am using tailwind css in my frontend and i am displaying the project description {{project.description}} but the styles i have added why i filled the description with ckeditor didn’t apply when i displayed the description in my tailwind frontend how to fix that??

New contributor

Salim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.