testing #16

Merged
pi-ux-ce merged 34 commits from testing into main 2026-07-04 17:40:00 +00:00
2 changed files with 16 additions and 0 deletions
Showing only changes of commit c7eb2c5aba - Show all commits
@@ -1,8 +1,23 @@
from django.core.management.base import BaseCommand
from django.conf import settings
import os
#import jinja2
from jinja2 import Environment, FileSystemLoader
class Command(BaseCommand):
args = '<team_id>'
help = 'Affiche la liste des backlogs'
template_dir = os.path.join(settings.BASE_DIR, 'templates')
env = Environment(loader=FileSystemLoader(template_dir))
template = env.get_template('helloWorld.jinja')
output = template.render()
with open("outputFileName.txt", 'w') as f:
print(output, file = f)
print(output)
def handle(self, *args, **options):
self.stdout.write('Coucou !')
+1
View File
@@ -0,0 +1 @@
hello