#4854: backslashes not required on windows
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: jacob
Status: closed | Component: Documentation
Version: SVN | Resolution: invalid
Keywords: path backslash | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------+---------------------------------------------
Changes (by SmileyChris):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Assuming that the string ''is'' parsed twice, you should be double-
escaping your path. It may just be coincidence that you haven't caused an
error because you aren't using escapable characters.
For example, `c:\path\here` would be fine, but `c:\path\to\here` wouldn't
be.
{{{
>>> 'c:\path\here'
'c:\\path\\here'
>>> 'c:\path\to\here'
'c:\\path\to\\here'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4854#comment:1>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---