Opened 8 years ago
Closed 8 years ago
#29188 closed Bug (fixed)
ContentFile.size remains constant after initializing
| Reported by: | Maksim Iakovlev | Owned by: | Alex Stovbur |
|---|---|---|---|
| Component: | File uploads/storage | Version: | 1.11 |
| Severity: | Normal | Keywords: | |
| Cc: | Alex Stovbur | Triage Stage: | Accepted |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
>>> cf = ContentFile('')
>>> cf.size
0
>>> cf.write('asd')
3L
>>> cf.size
0
Change History (5)
comment:1 by , 8 years ago
| Component: | Uncategorized → File uploads/storage |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 8 years ago
| Cc: | added |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 8 years ago
| Has patch: | set |
|---|
comment:4 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
PR - https://github.com/django/django/pull/9763