summaryrefslogtreecommitdiff
path: root/workshop_app
diff options
context:
space:
mode:
authorCruiseDevice2019-11-11 16:55:39 +0530
committerCruiseDevice2019-11-11 16:55:39 +0530
commita339bf20591db9fb886402d8f9edbd9d6d151778 (patch)
tree0b032ce0a365a1af0ac5a4a5c0a90c1b9c3e87c5 /workshop_app
parent7bc4033dd41c7d8f7779bc0a26ebf3069eda1d34 (diff)
downloadworkshop_booking-a339bf20591db9fb886402d8f9edbd9d6d151778.tar.gz
workshop_booking-a339bf20591db9fb886402d8f9edbd9d6d151778.tar.bz2
workshop_booking-a339bf20591db9fb886402d8f9edbd9d6d151778.zip
Append list instead of Chaining
- As @ankitjavalkar suggested, changing the chaining of lists to appending
Diffstat (limited to 'workshop_app')
-rw-r--r--workshop_app/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/workshop_app/views.py b/workshop_app/views.py
index 808f197..def8665 100644
--- a/workshop_app/views.py
+++ b/workshop_app/views.py
@@ -709,7 +709,7 @@ def my_workshops(request):
proposed_workshop_coordinator=user.id
).order_by('-proposed_workshop_date')
- workshops = list(chain(workshop_occurence_list, proposed_workshop))
+ workshops = list(workshop_occurence_list) + list(proposed_workshop)
return render(request, 'workshop_app/my_workshops.html',
{"workshops": workshops})