mirror of
https://github.com/ae-utbm/sith.git
synced 2026-09-09 14:04:36 +00:00
Use HTMX in UE details
This commit is contained in:
+8
-2
@@ -24,12 +24,13 @@
|
||||
from django.urls import path
|
||||
|
||||
from pedagogy.views import (
|
||||
UECommentCreateView,
|
||||
UECommentDeleteView,
|
||||
UECommentReportCreateView,
|
||||
UECommentUpdateView,
|
||||
UECreateView,
|
||||
UEDeleteView,
|
||||
UEDetailFormView,
|
||||
UEDetailView,
|
||||
UEGuideView,
|
||||
UEModerationFormView,
|
||||
UEUpdateView,
|
||||
@@ -38,7 +39,12 @@ from pedagogy.views import (
|
||||
urlpatterns = [
|
||||
# Urls displaying the actual application for visitors
|
||||
path("", UEGuideView.as_view(), name="guide"),
|
||||
path("ue/<int:ue_id>/", UEDetailFormView.as_view(), name="ue_detail"),
|
||||
path("ue/<int:ue_id>/", UEDetailView.as_view(), name="ue_detail"),
|
||||
path(
|
||||
"ue/<int:ue_id>/comment",
|
||||
UECommentCreateView.as_view(),
|
||||
name="comment_create",
|
||||
),
|
||||
path(
|
||||
"comment/<int:comment_id>/edit/",
|
||||
UECommentUpdateView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user