Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check use of os.path.sep on Windows where Django wants / #5565

Open
dwaynebailey opened this issue Nov 17, 2016 · 0 comments
Open

Check use of os.path.sep on Windows where Django wants / #5565

dwaynebailey opened this issue Nov 17, 2016 · 0 comments
Labels
Milestone

Comments

@dwaynebailey
Copy link
Member

See http://docs.quantifiedcode.com/python-code-patterns/django/all/correctness/not_using_forward_slashes.html

We have working_path which will use Windows specific paths on Windows. Yet Django recommends forward slashes in most cases and Windows doesn't mind.

So likely we need a form of working_path that doesn't use os.path.sep but just uses "/". Something sort of exists for STATICFILES_DIR.

@phlax phlax added this to the 2.8.1 milestone Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants