mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-16 19:51:23 +01:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2c7adf01c2
commit
3dc9f33643
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ class Migration(migrations.Migration):
|
|||
null=True,
|
||||
upload_to="profile_pictures",
|
||||
validators=[
|
||||
functools.partial( # noqa: PIE804
|
||||
functools.partial(
|
||||
character.models.character.validate_image,
|
||||
*(),
|
||||
**{"megabytes_limit": 2},
|
||||
megabytes_limit=2,
|
||||
),
|
||||
],
|
||||
verbose_name="image de profil",
|
||||
|
|
Loading…
Reference in a new issue