Update Black & run for whole repository
This commit is contained in:
parent
68210d5330
commit
850dc69091
53 changed files with 441 additions and 149 deletions
|
|
@ -222,7 +222,8 @@ class Attachment(models.Model):
|
|||
validators=[
|
||||
validators.ImageDimensionsValidator(min_width=50, min_height=50),
|
||||
validators.FileValidator(
|
||||
allowed_extensions=["png", "jpg", "jpeg"], max_size=1024 * 1024 * 5,
|
||||
allowed_extensions=["png", "jpg", "jpeg"],
|
||||
max_size=1024 * 1024 * 5,
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue