This repository has been archived on 2026-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
RepApp/rc_hip/repapp/urls.py
2023-04-20 21:36:10 +02:00

26 lines
815 B
Python

"""
Urls of RepApp.
"""
from django.urls import path
from . import views
urlpatterns = [
path("", views.IndexView.as_view(), name="index"),
path(
"cafe/<int:cafe>/",
views.RegisterDeviceFormView.as_view(),
name="register_device"
),
path(
"cafe/<int:cafe>/device/<str:deviceentifier>/<str:mail>/",
views.RegisterGuestFormView.as_view(),
name="register_guest"
),
path("cafe/<int:cafe>/device/<str:deviceentifier>/guest/<str:guestentifier>/",
views.register_device_final, name="register_device_final"),
path("confirm/<str:deviceentifier>/code/<str:device_secret>/",
views.register_device_confirm, name="register_device_confirm"),
path("device/<str:deviceentifier>/",
views.device_view, name="view_device"),
]