[Answer]-Importing data into Django richtextfield is losing line breaks formatting

1👍

You should use the linebreaks filter when rendering your content in your template: https://docs.djangoproject.com/en/dev/ref/templates/builtins/#linebreaks

It should be as simple as:

{{ content|linebreaks }}
👤Tareq

Leave a comment