diff --git a/apps/course/views.py b/apps/course/views.py index c5835aa2..4a473b46 100644 --- a/apps/course/views.py +++ b/apps/course/views.py @@ -90,7 +90,7 @@ def coursecomment(request, course_id): parent=_coursecomment, ) ctx = {'node': coursecomment, 'user': request.user} - html = loader.render_to_string('course/blocks/comment.html', ctx) + html = loader.render_to_string('templates/blocks/comment.html', ctx) return JsonResponse({ 'success': True, 'comment': html, @@ -139,7 +139,7 @@ def lessoncomment(request, lesson_id): parent=_lessoncomment, ) ctx = {'node': lessoncomment, 'user': request.user} - html = loader.render_to_string('course/blocks/comment.html', ctx) + html = loader.render_to_string('templates/blocks/comment.html', ctx) return JsonResponse({ 'success': True, 'comment': html,