python - How can display the lines from linux log file in browser -
python - How can display the lines from linux log file in browser -
i getting lines linux log files , displaying in bowser using django.
<pre> lines </pre> html tags not rendered properly is there way display in format newlines , html tag rendered properly
you can utilize built-in template tags:
{{ lines|linebreaks }} or
{{ lines|linebreaksbr }} python linux django
Comments
Post a Comment