Adam Goldsmith c8b3edcacf
All checks were successful
Ruff / ruff (push) Successful in 1m0s
Test / test (push) Successful in 8m52s
doorcontrol: Add report for assigned NFC cards
2025-01-03 21:26:51 -05:00

24 lines
548 B
Python

from django.urls import path
from . import views
app_name = "doorcontrol"
urlpatterns = [report._urlpattern() for report in views.REPORTS] + [
path(
"assign-nfc-card/",
views.assign_nfc_card_user_selector,
name="assign-nfc-card-user-selector",
),
path(
"assign-nfc-card/<str:user_id>",
views.AssignNfcCardView.as_view(),
name="assign-nfc-card",
),
path(
"assigned-nfc-cards/",
views.AssignedNfcCardsReport.as_view(),
name="assigned-nfc-cards",
),
]