modify views to support video list generation
@@ -175,6 +175,12 @@ class PartnersDetailView(DetailView):
else:
context['stream_unique_accepted'] = None
+
+ if partner.additional_resources:
+ context['video_tutorials'] = partner.additional_resources.split(",")
+ else:
+ context['video_tutorials'] = None
+
return context
