Use JS for that. You'll find a code snippet here that will do it http://www.dhtmlgoodies.com/forum/viewtopic.php?t=506
On 22 November 2012 01:27, jianhui chen <[email protected]> wrote: > Hi all, > I was wondering how can I show the text line numbers in the left of > the text area. > The result is somehow like this: > 1 this is first line. > 2 this is second line. > ; > > The number is in the outside of the box, and it is automatically > displayed when the user change the line. > By the way, I an new comer in django and learning this > http://www.djangobook.com/en/2.0/index.html now. Is there any source > teaching the interactive response in the web, expecially in text editing? > > Jimmy > > > > > -- > 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. > -- 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.

