collectstatic

This commit is contained in:
Egor Matveev
2022-03-20 12:53:22 +03:00
parent a3ceaba36f
commit e986aa7b62
3 changed files with 23 additions and 61 deletions

View File

@@ -1,10 +0,0 @@
from django.contrib.auth.models import User
from django.core.management import BaseCommand
from daemons.management.commands.bot import bot
class Command(BaseCommand):
def handle(self, *args, **options):
for user in User.objects.filter(is_superuser=True):
bot.send_message(user.userinfo.telegram_chat_id, "Деплой прошел успешно")