#36684: `max_size` and `min_size` validation for `FileField`
-------------------------------------+-------------------------------------
               Reporter:  amirreza   |          Owner:  amirreza
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  Forms      |        Version:  dev
               Severity:  Normal     |       Keywords:  form FileFIeld
           Triage Stage:             |  files
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 hi
 as disccussed in [https://forum.djangoproject.com/t/proposal-max-and-min-
 size-validation-for-filefield/43232 forum], i think a `max_size` and
 `min_size` validation could be a good addition to django
 or at least `max_size`

 should mention i can do this one myself

 i'm fine by doing it as a paarameter in `FormField`, or as a validator
 function
 so if you have a preference, please do tell

 should mention anything discussed here also applies to `ImageField` and
 anything else inheriting from `FormField`
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36684>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019a12afef00-a91dc045-12a9-4a5f-876a-19aae04f8911-000000%40eu-central-1.amazonses.com.

Reply via email to