extensions-website/reviewers/urls.py
Francesco Siddi 9893e489a3 Moderation reviews are now called approvals
This avoids a naming collision with the 'reviews', done by users on
published extensions.
2024-02-21 23:38:18 +01:00

19 lines
477 B
Python

from django.urls import path
from reviewers import views
app_name = 'reviewers'
urlpatterns = [
path('approval-queue/', views.ApprovalQueueView.as_view(), name='approval-queue'),
path(
'approval-queue/<slug:slug>/',
views.ExtensionsApprovalDetailView.as_view(),
name='approval-detail',
),
path(
'approval-queue/<slug:slug>/comment',
views.ExtensionsApprovalFormView.as_view(),
name='approval-comment',
),
]