pedagogy: basic display list of UV

This commit is contained in:
2019-06-15 23:31:31 +02:00
parent 5bf5d0277c
commit ec33311715
6 changed files with 58 additions and 3 deletions

View File

@ -54,12 +54,16 @@ class UVCommentDetailView(DetailView):
pass
class UVListView(ListView):
class UVListView(CanViewMixin, ListView):
"""
UV guide main page
"""
pass
# This is very basic and is prone to changment
model = UV
ordering = ["code"]
template_name = "pedagogy/guide.jinja"
class UVCommentReportCreateView(CreateView):