1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-04-01 19:31:11 +00:00
plateforme-tfjm2/survey/management/commands/fetch_survey_completion_data.py
2025-03-19 23:18:45 +01:00

14 lines
343 B
Python

# Copyright (C) 2025 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
from django.conf import settings
from django.core.management import BaseCommand
from ...models import Survey
class Command(BaseCommand):
def handle(self, *args, **kwargs):
for survey in Survey.objects.all():
survey.fetch_completion_data()