summaryrefslogtreecommitdiff
path: root/workshop_app/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_app/views.py')
-rw-r--r--workshop_app/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/workshop_app/views.py b/workshop_app/views.py
index f274122..b08104c 100644
--- a/workshop_app/views.py
+++ b/workshop_app/views.py
@@ -1185,5 +1185,4 @@ def share_details(request):
def self_workshop(request):
- pdf_file = open(path.join(settings.MEDIA_ROOT,'self_learning.pdf'), 'rb')
- return HttpResponse(pdf_file, content_type="application/pdf")
+ return render(request, "workshop_app/self_workshop.html")