2024-12-11 13:03:37 -05:00
|
|
|
from django.urls import path
|
|
|
|
|
2023-04-08 10:28:44 -04:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = "doorcontrol"
|
|
|
|
|
2024-12-11 13:03:37 -05:00
|
|
|
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",
|
|
|
|
),
|
|
|
|
]
|