Commits

Scott Nixon  committed b2c8ddb

Fixed path to course templates

  • Participants
  • Parent commits 9d6ff63

Comments (0)

Files changed (1)

     current_site = Site.objects.get_current()
     courses_list = Courses.active.filter(sites=current_site.id)
     
-    return render_to_response('courses/courses_index.html', locals(),context_instance=RequestContext(request))
+    return render_to_response('courses_index.html', locals(),context_instance=RequestContext(request))
 
 def course_detail(request, slug):
     try:
             c = Courses.active.get(slug=slug)
     except Courses.DoesNotExist:
             raise Http404
-    return render_to_response('courses/course_detail.html', locals(),context_instance=RequestContext(request))
+    return render_to_response('course_detail.html', locals(),context_instance=RequestContext(request))
         
 def lesson_detail(request, slug):
     try:
             l = Lessons.active.get(slug=slug)
     except Lessons.DoesNotExist:
             raise Http404
-    return render_to_response('courses/lesson_detail.html', locals(),context_instance=RequestContext(request))
+    return render_to_response('lesson_detail.html', locals(),context_instance=RequestContext(request))