Opened 17 years ago
Closed 17 years ago
#7659 closed (worksforme)
UploadedFile is broken and its documentation is incorrect
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | dev |
| Severity: | Keywords: | uploadedfile upload | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
First, an UploadedFile instance's read() method always returns empty. Second, the documentation at http://www.djangoproject.com/documentation/upload_handling refers to a chunks() method which does not exist, and should be chunk().
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Marking worksforme. Feel free to reopen if you've got more details.
Note:
See TracTickets
for help on using tickets.
Replying to anonymous:
Please post an minimal but complete example demonstrating the problem, this is being tested in the test suite. See
http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/file_uploads/views.py#L24
This has already been reported as #7638.