more cid user anatomy testing

This commit is contained in:
Ross
2022-12-05 12:22:26 +00:00
parent 2984f27249
commit a467f24e10
8 changed files with 170 additions and 51 deletions
+6 -6
View File
@@ -423,12 +423,12 @@ class QuestionNote(models.Model):
return f"{self.note_type} - {self.note}"
EXAM_TYPES = (
("Physics", "physics_exams"),
("Rapids", "rapid_exams"),
("SBAs", "sba_exams"),
("Anatomy", "anatomy_exams"),
("Longs", "longs_exams"),
("CaseCollection", "casecollection_exams"),
("physics", "physics_exams"),
("rapids", "rapid_exams"),
("sbas", "sba_exams"),
("anatomy", "anatomy_exams"),
("longs", "longs_exams"),
("casecollection", "casecollection_exams"),
)
class CidUser(models.Model):
+1 -1
View File
@@ -29,7 +29,7 @@
<p>
{% with object.get_cid_exams as exam_map %}
{% for exam_type, exams in exam_map.items %}
{% for exam_type, exams in exam_map %}
<h4>{{exam_type}}</h4>
<ul>
{% for exam in exams %}