This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
urls.py
61 lines (47 loc) · 2.87 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from django.urls import path
from core import views
urlpatterns = [
path('', views.index, name='index'),
path('auth/sign-in', views.user_sign_in, name='sign-in'),
path('auth/sign-up', views.user_sign_up, name='sign-up'),
path('auth/logout', views.user_sign_out, name='sign-out'),
path('auth/forget-password/', views.user_forget_password, name='forget-password'),
path('auth/reset-password/<str:reset_key>', views.user_reset_password, name='reset-password'),
path('panel/admin/', views.panel_admin, name='panel-admin'),
path('panel/admin/user-list', views.panel_admin_user_list, name='panel-admin-user-lists'),
path('panel/admin/edit-user/<str:username>', views.panel_admin_edit_user, name='admin-edit-user'),
path('panel/admin/delete-user/<str:username>', views.panel_admin_delete_user, name='admin-delete-user'),
path(
'panel/admin/panel-connection',
views.panel_admin_setting_panel_connection,
name='panel-admin-setting-panel-connection'
),
path(
'panel/admin/panel-connection-edit/<int:connection_id>',
views.panel_admin_setting_panel_edit_connection,
name='panel-admin-setting-panel-edit-connection'
),
path(
'panel/admin/panel-connection/<int:connection_id>',
views.panel_admin_setting_panel_deleted_connection,
name='panel-admin-setting-panel-deleted-connection'
),
path('panel/admin/create-link/<str:username>', views.panel_admin_create_link, name='admin-create-link'),
path('panel/admin/edit-link/<str:shorten_uuid_link>', views.panel_admin_edit_link, name='admin-edit-link'),
path('panel/admin/delete-link/<str:shorten_uuid_link>', views.panel_admin_delete_link, name='admin-delete-link'),
path('panel/user/<str:username>', views.panel_user_profile_overview, name='panel-user'),
path('panel/user/profile/<str:username>', views.panel_user_profile_overview, name='panel-user-profile'),
path('panel/user/edit/<str:username>', views.panel_user_edit, name='edit-user'),
path('panel/user/panel_user_change_email/<str:username>',
views.panel_user_change_email, name='user-change-email'),
path('panel/user/panel_user_reset_password/<str:username>',
views.panel_user_reset_password, name='user-reset-password'),
path('panel/user/link/<str:username>', views.user_view_links, name='user-view-links'),
path('panel/user/user-link/<str:shorten_uuid_link>', views.user_view_single_link, name='user_link_page'),
path('panel/user/user-link/expose/<str:shorten_uuid_link>',
views.user_view_single_link_expose, name='user_link_page_expose'),
path('panel/user/user-link/restrict/<str:shorten_uuid_link>',
views.user_view_single_link_restrict, name='user_link_page_restrict'),
path('panel/user/user-link/show/<str:shorten_uuid_link>',
views.user_view_single_link_show, name='user_link_page_show'),
]