This commit is contained in:
Ross
2022-03-30 21:13:37 +01:00
parent b002e88a38
commit 8227c33d27
2 changed files with 10 additions and 0 deletions
@@ -1,6 +1,7 @@
{% extends 'atlas/base.html' %}
{% block content %}
<a href="{% url 'atlas:collection_create' %}">Create collection</a>
<ul>
{% for collection in collections %}
<li><a href='{{collection.get_absolute_url}}'>{{collection.name}}</a></li>
+9
View File
@@ -57,6 +57,15 @@ class RapidTable(tables.Table):
"created_date", "open_access", "author")
sequence = ("view", "images", "exams")
def __init__(self, data=None, *args, **kwargs):
super().__init__(
data.prefetch_related(
"abnormality", "region", "examination", "laterality"
),
*args,
**kwargs,
)
class RapidUserAnswerTable(tables.Table):
select = tables.CheckBoxColumn(accessor=("pk"))
delete = tables.LinkColumn(