Commit b49f204e authored by Sli's avatar Sli

pedagogy: more comprehensible urls for development

parent 57f2a5c2
Pipeline #1785 failed with stage
in 5 minutes and 45 seconds
......@@ -27,6 +27,7 @@ from django.conf.urls import url
from pedagogy.views import *
urlpatterns = [
# Urls displaying the actual application for visitors
url(r"^$", UVListView.as_view(), name="guide"),
url(r"^uv/(?P<uv_id>[0-9]+)$", UVDetailFormView.as_view(), name="uv_detail"),
url(
......@@ -39,8 +40,10 @@ urlpatterns = [
UVCommentReportCreateView.as_view(),
name="comment_report",
),
# Moderation
url(r"^reported$", UVCommentReportListView.as_view(), name="comment_report_list"),
url(r"^moderation$", UVModerationFormView.as_view(), name="moderation"),
# Administration : Create Update Delete Edit
url(r"^uv/create$", UVCreateView.as_view(), name="uv_create"),
url(r"^uv/(?P<uv_id>[0-9]+)/delete$", UVDeleteView.as_view(), name="uv_delete"),
url(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment