Hi Thomas, Django's normalize_newlines function should do the trick. You can import it from django.utils.text. See this page for an example:
http://www.palewire.com/posts/2009/09/01/django-recipe-remove-newlines-text-block/ Best, Paulo On Thu, Mar 18, 2010 at 4:27 PM, Thomas Guettler <[email protected]> wrote: > > Hi, > > I just discovered that I have a random mix auf rows > some with \r\n and some with only \n. > > I guess it depends on using a windows or linux browser > to access the app. > > I use models.TextField (with django 1.0). > > Has someone seen this, too? > > What do you do? > > Thomas > > -- > Thomas Guettler, http://www.thomas-guettler.de/ > E-Mail: guettli (*) thomas-guettler + de > > -- > 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]<django-users%[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.

