mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 13:51:49 +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,
|
||||
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