1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-02-23 13:01:18 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
9797268736
Add default order for solutions and syntheses
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-13 10:05:00 +02:00
fb4edccc40
Use full jquery lib
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-13 09:55:59 +02:00
4 changed files with 5 additions and 3 deletions

View File

@ -566,6 +566,7 @@ class Solution(models.Model):
verbose_name = _("solution")
verbose_name_plural = _("solutions")
unique_together = (('participation', 'problem', 'final_solution', ), )
ordering = ('participation__team__trigram', 'problem',)
class Synthesis(models.Model):
@ -609,6 +610,7 @@ class Synthesis(models.Model):
verbose_name = _("synthesis")
verbose_name_plural = _("syntheses")
unique_together = (('participation', 'passage', 'type', ), )
ordering = ('passage__pool__round', 'type',)
class Note(models.Model):

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@
<link rel="stylesheet" href="{% static 'fontawasome/css/v4-shims.css' %}">
{# JQuery, Bootstrap and Turbolinks JavaScript #}
<script src="{% static 'jquery/jquery-3.5.1.slim.min.js' %}"></script>
<script src="{% static 'jquery/jquery-3.6.0.min.js' %}"></script>
<script src="{% static 'bootstrap/js/bootstrap.bundle.min.js' %}"></script>
<script src="{% static 'turbolinks/turbolinks.js' %}"></script>