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.

they displaying same paragarah want show them new lines they display in nelwines if warp them in <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

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -