mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 06:28:03 +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
fe8aa8ffeb
commit
6fbd239d8f
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ class Migration(migrations.Migration):
|
||||||
null=True,
|
null=True,
|
||||||
upload_to="profile_pictures",
|
upload_to="profile_pictures",
|
||||||
validators=[
|
validators=[
|
||||||
functools.partial( # noqa: PIE804
|
functools.partial(
|
||||||
character.models.character.validate_image,
|
character.models.character.validate_image,
|
||||||
*(),
|
*(),
|
||||||
**{"megabytes_limit": 2},
|
megabytes_limit=2,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
verbose_name="image de profil",
|
verbose_name="image de profil",
|
||||||
|
|
Loading…
Reference in a new issue