Comments
This commit is contained in:
parent
51ac7fc5fb
commit
a798507754
|
@ -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)
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue