Re: object attibute in different lines

2007-01-02 Thread Nader
Thank you, gkelly! I have found what I was looking for. I am a newbie to Django and I have to learn more about this system. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: object attibute in different lines

2007-01-02 Thread gkelly
Check out these built-in filters for templates: http://www.djangoproject.com/documentation/templates/#linebreaks If you're writing templates, that whole page is a very valuable resource. --~--~-~--~~~---~--~~ You received this message because you are subscribed

object attibute in different lines

2007-01-02 Thread Nader
Hello, I have a model field which is defined as a TextField. If I get the object in a view function by using of next statement : object = get_object_or_404(Object, pk=obj_id) Then I can use in template the next statement : {{ object.attrib }} and I get correctly the text get placed in this varai