From 3b04297ddac2bdc561f4c7e92f79000e710d59de Mon Sep 17 00:00:00 2001 From: Gabriel Dugny Date: Sat, 16 Sep 2023 20:10:36 +0200 Subject: [PATCH] fix: missing max_length attribute on forms.FileField --- django-stubs/forms/fields.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/django-stubs/forms/fields.pyi b/django-stubs/forms/fields.pyi index 0e63f14c8..c3d3117cf 100644 --- a/django-stubs/forms/fields.pyi +++ b/django-stubs/forms/fields.pyi @@ -261,6 +261,7 @@ class EmailField(CharField): class FileField(Field): allow_empty_file: bool + max_length: int | None def __init__( self, *,