Delete unused choices

This commit is contained in:
Gregory Trullemans 2023-07-07 14:39:49 +02:00
parent e610725345
commit bbe1efd783
3 changed files with 23 additions and 20 deletions

View File

@ -27,7 +27,7 @@
<h4 class=""><i class="text-primary fal fa-laugh-wink"></i> Hi {{ user.username }} !</h4>
</div>
<div class="card-body text-justify pt-0">
<p>Welcome to Jarvi v0.86 <span class="text-muted">(last update : 05-07-2023)</span></p>
<p>Welcome to Jarvi v0.9 <span class="text-muted">(last update : 7-7-2023)</span></p>
<p>This application is here to help coaches to manage the gymnasts (evolution, evaluation, routines, scores, …). This tool is not perfect so feel free to make improvement proposals, bug reports, … by sending me an <a href="mailto:gregory@flyingacrobaticstrampoline.be">email</a>.</p>
<p>You can find the user manual <a href="{% static "files/Manuel_Utilisateur.pdf" %}" download>here (in french)</a>.</p>
</div>

View File

@ -0,0 +1,21 @@
# Generated by Django 4.2 on 2023-07-07 12:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("followup", "0054_alter_injury_body_side"),
]
operations = [
migrations.AlterField(
model_name="injury",
name="body_side",
field=models.PositiveSmallIntegerField(
choices=[(0, "Not Applicable"), (1, "Left"), (2, "Right"), (3, "Both")],
verbose_name="Body side",
),
),
]

View File

@ -17,30 +17,12 @@ INJURY_MECHANISM_CHOICE = (
)
INJURY_BODY_SIDE_CHOICE = (
(0, "N/A"),
(0, "Not Applicable"),
(1, "Left"),
(2, "Right"),
(3, "Both"),
)
INJURY_LOCATION_CHOICE = (
(0, "Head / Face"),
(1, "Neck / Cervical spine"),
(2, "Sternum / Ribs / Upperback"),
(3, "Abdomen"),
(4, "Low back / Sacrum / Pelvis"),
(5, "Shoulder / Clavicula"),
(6, "Upper Arm"),
(7, "Elbow"),
(8, "Hand / Finger / Thumb"),
(9, "Hip / Groin"),
(9, "Thigh"),
(10, "Knee"),
(11, "Lower Leg / Achilles Tendon"),
(12, "Ankle"),
(13, "Foot / Toe"),
)
ROUTINE_TYPE_CHOICE = (
(0, "Other"),
(1, "Q1R1"),