27 lines
1.6 KiB
Python
27 lines
1.6 KiB
Python
|
|
from django.urls import path
|
|
from . import views
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
app_name = 'hr_module'
|
|
|
|
urlpatterns = [
|
|
path('login', auth_views.LoginView.as_view(template_name='hr_module_login.html'), name='login'),
|
|
path('logout', auth_views.LogoutView.as_view(), name='logout'),
|
|
path('change_password', auth_views.PasswordChangeView.as_view(template_name='hr_module_password_change.html'), name='change_password'),
|
|
path('home', views.homepage, name='homepage'),
|
|
path('create_schedule', views.create_schedule, name='create_schedule'),
|
|
path('create_employees', views.create_employees, name='create_employees'),
|
|
path('search_api', views.search_users_api, name='search_users_api'),
|
|
path('loademployees', views.load_employees_api, name='load_employees'),
|
|
path('new_plan_api', views.new_plan_api, name='new_plan_api'),
|
|
path('manage_schedule', views.manage_schedule, name='manage_schedule'),
|
|
path('show_employee_plan_api', views.show_employee_plan_api, name='show_employee_plan_api'),
|
|
path('update_plan_api', views.update_plan_api, name='update_plan_api'),
|
|
path('manage_timelog', views.manage_timelog, name='manage_timelog'),
|
|
path('show_employee_timelog_api', views.show_employee_timelog_api, name='show_employee_timelog_api'),
|
|
path('update_timelog_api', views.update_timelog_api, name='update_timelog_api'),
|
|
path('change_employee_data', views.change_employee_data, name='change_employee_data'),
|
|
path('change_employee_data_api', views.change_employee_data_api, name='change_employee_data_api'),
|
|
path('plan_creation_log', views.plan_creation_log, name='plan_creation_log'),
|
|
] |