Hi,

  Iam developing an application in django where I have to color some
lines in a file based on some pattern and display the whole log file
in web page.

 Like if a line has "error" word, the line has to be displayed in red
color.
So far i was just reading the file and sending to html through ajax
call and displaying on the browser. Now while displaying i have to
differentiate the lines having a perticular keyword by colors, I want
to do the coloring at the python side and not at html side.
I am reading a file , identifying the line which has the keyword using
regular expression, now i have to color that line.

It will be very useful for me if anyone could solve my problem.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to