Skip to content

Commit

Permalink
fix: missing max_length attribute on forms.FileField (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug authored Sep 17, 2023
1 parent dd60767 commit 144a827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django-stubs/forms/fields.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ class EmailField(CharField):

class FileField(Field):
allow_empty_file: bool
max_length: int | None
def __init__(
self,
*,
Expand Down

0 comments on commit 144a827

Please sign in to comment.