I noticed that my template provides my .CharField and model.TextField model without extra spaces.
For example, if I enter data such as ...
This is a test
to see what happens.
The displayed field of the object will appear as ...
This is a test to see what happens.
Is this an intentional Django function, or am I missing a filter or parameter somewhere?
I myself checked the field with some debugging code (print object.field), and it contains extra spaces, so the problem is with the rendering side.
How can I let the user enter paragraphs of data in TextFields? How to save spaces that the user could enter?
powlo source
share