Forward slashes & Windows

In addition to using the here and root lambdas, given that the comments in settings.py state: "Always use forward slashes, even on Windows", should we use .replace('\\','/') wherever we give a file path?

Also, is os.path.abspath necessary in root?

Sorry You must be a logged in, registered user to answer a question.

Answers

You shouldn't need the .replace, I'm pretty certain Python or Django takes care of that for you.

As for the abspath, I don't think it's absolutely required, but better safe than sorry.