#29983: Paths when using Windows from an Ubuntu project
-------------------------------------+-------------------------------------
     Reporter:                       |                    Owner:  Curtis
  thewhisperinyourears               |  Maloney
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.staticfiles  |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:  paths, settings      |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Curtis Maloney):

 * owner:  nobody => Curtis Maloney
 * status:  new => assigned
 * stage:  Unreviewed => Accepted


Comment:

 I was helping this user on IRC, and they were getting confusing errors
 when running "collectstatic" or "findstatic" about the path not matching.

 It turned out to be a conflict with joining Windows-style paths with Unix-
 style paths, as mentioned above.

 I'm going to look at replacing uses of os.path.join and its ilk with
 pathlib, which does not suffer this problem.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29983#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.57cc06cd7b7592133344ea79a3b1097c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to