This commit is contained in:
Ross
2021-01-21 18:10:14 +00:00
parent 7b8dcdf3dc
commit 951bf845d7
3 changed files with 25 additions and 2 deletions
+1
View File
@@ -430,6 +430,7 @@ td.user-answer-score-2::after {
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
background: rgb(28, 184, 65);
padding-right: 10px;
color: white;
}
.add-popup {
@@ -0,0 +1,22 @@
# Generated by Django 3.1.3 on 2021-01-21 18:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rapids', '0005_auto_20210121_1806'),
]
operations = [
migrations.RemoveField(
model_name='rapid',
name='examination',
),
migrations.AddField(
model_name='rapid',
name='examination',
field=models.ManyToManyField(help_text='Name of the (primary) examination', to='rapids.Examination'),
),
]
+2 -2
View File
@@ -142,8 +142,8 @@ class Rapid(models.Model):
Region,
blank=True,
help_text="Region of the abnormality (laterality independent)")
examination = models.ForeignKey(
Examination, help_text="Name of the (primary) examination", on_delete=models.SET_NULL, null=True)
examination = models.ManyToManyField(
Examination, help_text="Name of the (primary) examination")
laterality = models.CharField(
max_length=20,
choices=LATERALITY_CHOICES,