#30843: New argument for FileField and descendants: size_field
-------------------------------------------+------------------------
               Reporter:  Maksim Iakovlev  |          Owner:  nobody
                   Type:  New feature      |         Status:  new
              Component:  Uncategorized    |        Version:  master
               Severity:  Normal           |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 `size_field` must work same as `ImageField.width_field`, but for file size
 in bytes. It may be helpful in systems which use remote storages. For
 example, S3 storage from django-storages makes HEAD request for every
 `file.size` call. It's painful sometimes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30843>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.6abf2302e220b0672ef40fe4198fb437%40djangoproject.com.

Reply via email to