This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
|||||||
|
from django.core.management.base import BaseCommand
|
||||||
|
|
||||||
|
class Command(BaseCommand):
|
||||||
|
args = '<team_id>'
|
||||||
|
help = 'Affiche la liste des backlogs'
|
||||||
|
|
||||||
|
def handle(self, *args, **options):
|
||||||
|
self.stdout.write('Coucou !')
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
from apps.telegram_communication.utils import telegramUtils
|
||||||
|
from django.core.management.base import BaseCommand
|
||||||
|
class Command(BaseCommand):
|
||||||
|
telegram = telegramUtils()
|
||||||
|
telegram.send_message("Test")
|
||||||
|
args = '<team_id>'
|
||||||
|
help = 'Affiche la liste des backlogs'
|
||||||
|
|
||||||
|
def handle(self, *args, **options):
|
||||||
|
self.stdout.write('Coucou !')
|
||||||
Reference in New Issue
Block a user