>From what I have read so far, it would be probably better to normalize to '\r\n'.
On Monday, November 12, 2018 at 3:58:39 PM UTC+1, Jakub Kleň wrote: > > I'm thinking if it wouldn't be nice if django automatically normalized > newlines of data entered by the user. The implementation would be really > simple, there's already a function for it in > django.utils.text.normalize_newlines, and it would go into > django.forms.fields.CharField.to_python the same as split() (maybe also > with an ivar for controlling the behavior, although I'm not sure if it's > needed). What do you think? > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/d07a9d40-fb4e-4b47-b5b4-4a8b6d21439f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.