On May 15, 6:17 pm, Alex <[EMAIL PROTECTED]> wrote:
> I'm working on my first Django project and I can't seem to get
> information printed out as I would like it. I'm trying to print out
> quotes to a page with the newlines turned into HTML <br> tags (similar
> to PHP's nl2br function).

You're looking for linebreaks, a filter in Django templates:

http://www.djangoproject.com/documentation/templates/#linebreaks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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