.
This commit is contained in:
+6
-2
@@ -521,11 +521,15 @@ def create_series_findings(request):
|
||||
response_data = {}
|
||||
|
||||
if request.POST.get('action') == 'post':
|
||||
series = request.POST.get('series')
|
||||
findings = request.POST.get('findings')
|
||||
series_id = request.POST.get('series')
|
||||
findings_ids = request.POST.get('findings')
|
||||
description = request.POST.get('description')
|
||||
annotation_json = request.POST.get('annotation_json')
|
||||
|
||||
series = Series.objects.get(pk=series_id)
|
||||
findings = Finding.objects.filter(pk__in=findings_ids)
|
||||
|
||||
|
||||
sf = SeriesFindings.objects.create(
|
||||
series = series,
|
||||
findings = findings,
|
||||
|
||||
Reference in New Issue
Block a user