pedagogy: functional but basic uv comment system

This commit is contained in:
2019-06-16 17:02:45 +02:00
parent b7c2da53fe
commit 5003e57338
7 changed files with 116 additions and 10 deletions

View File

@ -31,9 +31,14 @@ urlpatterns = [
url(r"^$", UVListView.as_view(), name="guide"),
url(r"^uv/(?P<uv_id>[0-9]+)$", UVDetailFormView.as_view(), name="uv_detail"),
url(
r"^comment/(?P<comment_id>[0-9]+)$",
UVCommentDetailView.as_view(),
name="comment_detail",
r"^comment/(?P<comment_id>[0-9]+)/edit$",
UVCommentUpdateView.as_view(),
name="comment_edit",
),
url(
r"^comment/(?P<comment_id>[0-9]+)/delete$",
UVCommentDeleteView.as_view(),
name="comment_delete",
),
url(
r"^comment/(?P<comment_id>[0-9]+)/report$",