From a7985077543a491f7610b5c68e22a9bbe3708058 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 27 Feb 2024 11:26:18 +0100 Subject: [PATCH] Comments --- jarvis/objective/models.py | 1 + jarvis/objective/templates/combinations/details.html | 1 + 2 files changed, 2 insertions(+) diff --git a/jarvis/objective/models.py b/jarvis/objective/models.py index e83ac2c..0ca9d7d 100644 --- a/jarvis/objective/models.py +++ b/jarvis/objective/models.py @@ -462,6 +462,7 @@ class Passe(Markdownizable): """Classe représentant les passages (à faire pendant un entraînement).""" label = models.CharField(max_length=30, null=True, blank=True) + # educative = models.ManyToManyField(Educative, on_delete=models.CASCADE) educative = models.ForeignKey(Educative, on_delete=models.CASCADE) repetition = models.PositiveSmallIntegerField(default=1) regexp = models.CharField(max_length=50, null=True, blank=True) diff --git a/jarvis/objective/templates/combinations/details.html b/jarvis/objective/templates/combinations/details.html index 41213e9..f86d6c9 100644 --- a/jarvis/objective/templates/combinations/details.html +++ b/jarvis/objective/templates/combinations/details.html @@ -39,6 +39,7 @@
Competition : {% if routine.is_competitive %}Yes{% else %}No{% endif %}
{{ combination_string }} + {% else %}

No skill defined for this combination.

{% endif %}