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-28 11:54:13 +02:00

33 lines
1.1 KiB
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:device_identifier>/mail/<str:mail>/",
views.RegisterGuestFormView.as_view(),
name="register_guest"
),
path("cafe/<int:cafe>/device/<str:device_identifier>/confirm/",
views.register_device_final, name="register_device_final"),
path("device/<str:device_identifier>/",
views.device_view, name="view_device"),
path("guest/profile/",
views.profile, name="guest_profile"),
path("onetimelogin/<str:secret>/",
views.one_time_login, name="one_time_login"),
path("member/login/",
views.member_login, name="member_login"),
path("cron", views.cron, name="cron"),
path("bootstrap", views.bootstrap, name="bootstrap"),
path("process_mails", views.process_mails, name="process_mails"),
]