How to use the accesscontrol.views.request_unlock function in AccessControl

To help you get started, we’ve selected a few AccessControl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joaohenriquef / rfid-access-control / server / accesscontrol / urls.py View on Github external
from django.urls import path
from accesscontrol import admin
from accesscontrol import views

urlpatterns = [
    path('request-unlock', views.request_unlock),
    path('authenticate', views.authenticate),
    path('authorize-visitor', views.authorize_visitor),
    path('request-front-door-unlock', views.request_front_door_unlock),
]