#21046: django-admin.py always creates files with Unix line endings
-------------------------------------+-------------------------------------
     Reporter:  Florian Sening       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Management     |                  Version:  1.5
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 I don't know how important this is these days. I think version control
 programs like Git usually normalize line endings anyway.

 Another consideration (I think) is that this will apply only to Python
 files that the template commands are rewriting, not to any other text-
 based files.

 Does `makemigrations` (and any other management commands that write files)
 already have this behavior?

 Maybe there are good reasons to make the change, but I just wanted to ask
 about these points.

--
Ticket URL: <https://code.djangoproject.com/ticket/21046#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.109ddbfbb12ccc901453339f8d315212%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to