Opened 16 years ago

Closed 16 years ago

#10193 closed (worksforme)

Meaning of 'path to file' parameter is unclear in documentation

Reported by: Art Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The document at

http://docs.djangoproject.com/en/dev/topics/files/

says:

default_storage.save('/path/to/file', ContentFile('new content'))

There is some ambiguity in the example given. One can assume that '/path/to/file' refers only to a path but not path-name of the file.

Change History (3)

comment:1 by Rob Hudson <treborhudson@…>, 16 years ago

Component: UncategorizedDocumentation

comment:2 by Malcolm Tredinnick, 16 years ago

What's the difference between a "path" and a "path name"? I don't see how this can be unclear. It's saying you have to specify the location of the file, using the normal syntax for doing so. Needs clarification from the reporter as to what the perceived problem is here.

comment:3 by Jacob, 16 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top