basic support for bulk series uploading
This commit is contained in:
+5
-5
@@ -1882,12 +1882,12 @@ class AddSelfReview(CreateView):
|
||||
|
||||
|
||||
@login_required
|
||||
def uncategorised_dicoms(request, pk):
|
||||
dicoms = UncategorisedDicom.objects.filter(user=request.User)
|
||||
def uncategorised_dicoms(request):
|
||||
dicoms = UncategorisedDicom.objects.filter(user=request.user)
|
||||
|
||||
data = {}
|
||||
data = []
|
||||
for d in dicoms:
|
||||
|
||||
d[d.image] = d.get_basic_dicom_tags()
|
||||
data.append((d.image.name, d.get_basic_dicom_tags()))
|
||||
|
||||
return JsonResponse(data)
|
||||
return JsonResponse(data, safe=False)
|
||||
Reference in New Issue
Block a user