Opened 7 years ago
Closed 7 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 , 7 years ago
Component: | Uncategorized → File uploads/storage |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 7 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 7 years ago
Has patch: | set |
---|
comment:4 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
PR - https://github.com/django/django/pull/9763