inital case selection widget

This commit is contained in:
Ross
2024-11-11 13:36:53 +00:00
parent a65ceffbfb
commit ed933c8104
5 changed files with 67 additions and 10 deletions
+3
View File
@@ -127,6 +127,9 @@ def uncategorised_dicoms(request):
def import_dicoms_helper(request, case_id: int | None = None):
# TODO: move this out of the api (would be better with HTMX)
# dicoms = UncategorisedDicom.objects.filter(user=request.user)
if "selection" in request.POST:
dicoms = UncategorisedDicom.objects.filter(