I have this model field that holds the description(image from django-admin) but when I print it out on the page it looks like the following: description model field printed on page
so is it possible to edit the description field so it looks better and is more readable using html/css etc?
CodePudding user response:
As is understood: You have an model field for the description and want to style the description (only this one)?
If yes: No its not because think about it:
Example: Anyone can create a Blog. A blog has: -Title -Description -User ...
If you would now take the model field in your .html file and it would even be possible to change, that would make no sense, because every blog has a different description.
You could wrap the whole description in an html tag and style it, but not style single words...
I hope that answers your question.
Please ignore the horrible formatting, i am new to SO and typing all this on my smartphone