Allow clearing matches

This commit is contained in:
2023-01-15 18:39:57 +00:00
parent 6bfa0aa73b
commit 46c7d96310
2 changed files with 28 additions and 0 deletions

View File

@@ -306,4 +306,9 @@ urlpatterns = [
notifications.RuleDelete.as_view(),
name="rule_delete",
),
path(
"rule/<str:type>/clear/<str:pk>/",
notifications.RuleClear.as_view(),
name="rule_clear",
),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)