Commit ea78b55ca4dd354ff2098d3769599a3099026f4c

Authored by juliotoscano
1 parent 80c3eb3e

login requirement

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
courses/views.py
@@ -314,7 +314,7 @@ class DeleteCourseView(LoginRequiredMixin, HasRoleMixin, LogMixin, generic.Delet @@ -314,7 +314,7 @@ class DeleteCourseView(LoginRequiredMixin, HasRoleMixin, LogMixin, generic.Delet
314 314
315 return reverse_lazy('course:manage') 315 return reverse_lazy('course:manage')
316 316
317 - 317 +@login_required
318 class CourseView(LogMixin, NotificationMixin, generic.DetailView): 318 class CourseView(LogMixin, NotificationMixin, generic.DetailView):
319 log_component = "courses" 319 log_component = "courses"
320 log_action = "viewed" 320 log_action = "viewed"