aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/views.py')
-rw-r--r--ctrack/caf/views.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 08ab736..b95965b 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -29,9 +29,7 @@ def caf_detail_view(request, pk):
# caf_principles = CAFPrinciple.objects.all()
_scrs = []
for ass in assessments:
- lst_scores = []
- lst_scores.append(ass)
- lst_scores.append(CAFAssessmentOutcomeScore.objects.filter(caf_assessment=ass))
+ lst_scores = [ass, CAFAssessmentOutcomeScore.objects.filter(caf_assessment=ass)]
_scrs.append(lst_scores)
context = {
"object": caf,