Opened 10 years ago
Closed 10 years ago
#25441 closed New feature (fixed)
Add support for negative filesize to filesizeformat template filter
| Reported by: | Andrey Yakovlev | Owned by: | Sambhav Satija |
|---|---|---|---|
| Component: | Template system | Version: | 1.8 |
| Severity: | Normal | Keywords: | |
| Cc: | f.ssat95@… | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I need to show the difference of sizes, it can be negative.
https://github.com/django/django/pull/5327
bug: if size is negative it show only in bytes
Change History (6)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
| Has patch: | set |
|---|---|
| Needs tests: | set |
| Summary: | filesizeformat for negative size → Add support for negative filesize to filesizeformat template filter |
| Triage Stage: | Unreviewed → Accepted |
| Type: | Bug → New feature |
comment:3 by , 10 years ago
| Needs tests: | unset |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:4 by , 10 years ago
| Cc: | added |
|---|
comment:5 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/5475