20 lines
1.3 KiB
Python
20 lines
1.3 KiB
Python
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("logout", views.logout, name="logout"),
|
|
path("login", views.login, name="login"),
|
|
path("oauth_callback", views.handle_oauth, name="handle_oauth"),
|
|
path("refresh_group_data", views.refresh_group_data, name="refresh_group_data"),
|
|
path("add/organization", views.add_organization_flow_select, name="add_organization_flow_select"),
|
|
path("organization/<int:org_id>", views.view_organization, name="view_organization"),
|
|
path("organization/<int:org_id>/add_channel", views.add_channel_to_organization, name="add_channel_to_organization"),
|
|
path("organization/<int:org_id>/add_trusted_channel", views.add_trusted_channel, name="add_trusted_channel"),
|
|
path("organization/<int:org_id>/add_trusted_user", views.add_trusted_user, name="add_trusted_user"),
|
|
path("organization/<int:org_id>/qr_code", views.qr_code, name="qr_code"),
|
|
path("organization/<int:org_id>/delete_channel/<str:chan>", views.delete_channel, name="delete_channel"),
|
|
path("organization/<int:org_id>/demote_channel/<str:chan>", views.demote_channel, name="demote_channel"),
|
|
path("organization/<int:org_id>/remove_user/<str:user>", views.remove_user, name="remove_user"),
|
|
]
|