3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-16 08:23:12 +00:00
coope/users/urls.py

49 lines
3.2 KiB
Python
Raw Normal View History

from django.urls import path
from . import views
app_name="users"
urlpatterns = [
path('login', views.loginView, name="login"),
path('logout', views.logoutView, name="logout"),
path('index', views.index, name="index"),
path('profile/<int:pk>', views.profile, name="profile"),
path('createUser', views.createUser, name="createUser"),
2018-10-05 22:03:02 +00:00
path('searchUser', views.searchUser, name="searchUser"),
path('usersIndex', views.usersIndex, name="usersIndex"),
path('editGroups/<int:pk>', views.editGroups, name="editGroups"),
path('editPassword/<int:pk>', views.editPassword, name="editPassword"),
path('editUser/<int:pk>', views.editUser, name="editUser"),
path('resetPassword/<int:pk>', views.resetPassword, name="resetPassword"),
path('groupsIndex', views.groupsIndex, name="groupsIndex"),
path('groupProfile/<int:pk>', views.groupProfile, name="groupProfile"),
path('createGroup', views.createGroup, name="createGroup"),
path('editGroup/<int:pk>', views.editGroup, name="editGroup"),
path('deleteGroup/<int:pk>', views.deleteGroup, name="deleteGroup"),
path('removeRight/<int:groupPk>/<int:permissionPk>', views.removeRight, name="removeRight"),
path('removeUser/<int:groupPk>/<int:userPk>', views.removeUser, name="removeUser"),
path('adminsIndex', views.adminsIndex, name="adminsIndex"),
path('addAdmin', views.addAdmin, name="addAdmin"),
path('removeAdmin/<int:pk>', views.removeAdmin, name="removeAdmin"),
path('superusersIndex', views.superusersIndex, name="superusersIndex"),
path('addSuperuser', views.addSuperuser, name="addSuperuser"),
path('removeSuperuser/<int:pk>', views.removeSuperuser, name="removeSuperuser"),
2018-10-05 22:03:02 +00:00
path('all-users-autocomplete', views.AllUsersAutocomplete.as_view(), name="all-users-autocomplete"),
path('active-users-autcocomplete', views.ActiveUsersAutocomplete.as_view(), name="active-users-autocomplete"),
path('non-super-users-autocomplete', views.NonSuperUserAutocomplete.as_view(), name="non-super-users-autocomplete"),
2018-11-22 21:52:15 +00:00
path('non-admin-users-autocomplete', views.NonAdminUserAutocomplete.as_view(), name="non-admin-users-autocomplete"),
2018-10-05 22:03:02 +00:00
path('getUser/<int:pk>', views.getUser, name="getUser"),
path('addCotisationHistory/<int:pk>', views.addCotisationHistory, name="addCotisationHistory"),
path('deleteCotisationHistory/<int:pk>', views.deleteCotisationHistory, name="deleteCotisationHistory"),
2018-10-05 22:03:02 +00:00
path('addWhiteListHistory/<int:pk>', views.addWhiteListHistory, name="addWhiteListHistory"),
path('schoolsIndex', views.schoolsIndex, name="schoolsIndex"),
path('createSchool', views.createSchool, name="createSchool"),
path('editSchool/<int:pk>', views.editSchool, name="editSchool"),
path('deleteSchool/<int:pk>', views.deleteSchool, name="deleteSchool"),
2018-11-22 21:52:15 +00:00
path('allReloads/<int:pk>/<int:page>', views.allReloads, name="allReloads"),
2018-11-30 18:54:12 +00:00
path('allConsumptions/<int:pk>/<int:page>', views.all_consumptions, name="allConsumptions"),
path('allMenus/<int:pk>/<int:page>', views.all_menus, name="allMenus"),
path('exportCSV', views.export_csv, name="exportCSV"),
2018-12-23 20:38:53 +00:00
path('switchActivateUser/<int:pk>', views.switch_activate_user, name="switchActivateUser"),
path('genUserInfos/<int:pk>', views.gen_user_infos, name="genUserInfos"),
]