Opened 7 years ago

Closed 6 years ago

#10193 closed (worksforme)

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

Reported by: Art_S 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: UI/UX:

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 Changed 7 years ago by Rob Hudson <treborhudson@…>

  • Component changed from Uncategorized to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by mtredinnick

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 Changed 6 years ago by jacob

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top