feat: added one more achieve

This commit is contained in:
Андрей Сумин committed 2025-03-03 14:30:02 +03:00
1 parent 404ca1cc59
commit 7e25fe8e0d
4 files changed
+30

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

@@ -30,3 +30,13 @@ class Command(BaseCommand):
slug="welcome",
icon=welcome_icon,
)
if not Achievement.objects.filter(slug="start_competition").exists():
with open(f"{icons_dir}/start_competition.png", "rb") as f:
start_competition = File(f, name="start_competition.png")
Achievement.objects.get_or_create(
name="Да начнётся битва!",
description="Начните соревнование",
slug="start_competition",
icon=start_competition,
)