Commit ea78b55ca4dd354ff2098d3769599a3099026f4c
1 parent
80c3eb3e
Exists in
master
and in
5 other branches
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 | 314 | |
315 | 315 | return reverse_lazy('course:manage') |
316 | 316 | |
317 | - | |
317 | +@login_required | |
318 | 318 | class CourseView(LogMixin, NotificationMixin, generic.DetailView): |
319 | 319 | log_component = "courses" |
320 | 320 | log_action = "viewed" | ... | ... |