2023-04-18 19:13:30 +00:00
|
|
|
"""
|
|
|
|
|
Urls of RepApp.
|
|
|
|
|
"""
|
2023-04-16 11:01:31 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
2023-04-18 18:04:32 +00:00
|
|
|
path("", views.IndexView.as_view(), name="index"),
|
2023-04-19 19:28:59 +00:00
|
|
|
path(
|
2023-04-20 18:52:24 +00:00
|
|
|
"cafe/<int:cafe>/",
|
2023-04-19 19:28:59 +00:00
|
|
|
views.RegisterDeviceFormView.as_view(),
|
|
|
|
|
name="register_device"
|
|
|
|
|
),
|
|
|
|
|
path(
|
2023-04-21 16:24:31 +00:00
|
|
|
"cafe/<int:cafe>/device/<str:device_identifier>/mail/<str:mail>/",
|
2023-04-19 19:28:59 +00:00
|
|
|
views.RegisterGuestFormView.as_view(),
|
|
|
|
|
name="register_guest"
|
|
|
|
|
),
|
2023-04-21 16:24:31 +00:00
|
|
|
path("cafe/<int:cafe>/device/<str:device_identifier>/confirm/",
|
2023-04-19 19:28:59 +00:00
|
|
|
views.register_device_final, name="register_device_final"),
|
2023-04-21 16:24:31 +00:00
|
|
|
path("device/<str:device_identifier>/",
|
2023-04-20 18:52:24 +00:00
|
|
|
views.device_view, name="view_device"),
|
2023-04-23 11:56:52 +00:00
|
|
|
path("guest/profile/",
|
|
|
|
|
views.profile, name="guest_profile"),
|
2023-04-27 09:09:41 +00:00
|
|
|
path("onetimelogin/<str:secret>/",
|
|
|
|
|
views.one_time_login, name="one_time_login"),
|
2023-04-23 15:40:19 +00:00
|
|
|
path("member/login/",
|
|
|
|
|
views.member_login, name="member_login"),
|
2023-05-04 19:32:37 +00:00
|
|
|
path("orga/cafe/create", views.CreateCafeView.as_view(), name="create_cafe"),
|
2023-04-24 16:02:43 +00:00
|
|
|
path("cron", views.cron, name="cron"),
|
2023-04-28 09:54:13 +00:00
|
|
|
path("bootstrap", views.bootstrap, name="bootstrap"),
|
2023-04-24 16:02:43 +00:00
|
|
|
path("process_mails", views.process_mails, name="process_mails"),
|
2023-04-27 09:09:41 +00:00
|
|
|
|
2023-04-16 11:01:31 +00:00
|
|
|
]
|