This commit is contained in:
Gregory Trullemans 2024-02-27 11:26:18 +01:00
parent 51ac7fc5fb
commit a798507754
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -39,6 +39,7 @@
<div class="col-6 text-center">Competition : <a href="#">{% if routine.is_competitive %}Yes{% else %}No{% endif %}</a></div>
</div>
{{ combination_string }}
{% else %}
<p>No skill defined for this combination.</p>
{% endif %}