10 lines
340 B
Python
10 lines
340 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.index, name='home'),
|
|
path('attendance/log/', views.attendance_log, name='attendance_log'),
|
|
path('history/', views.work_history, name='work_history'),
|
|
path('toggle/<str:model_name>/<int:item_id>/', views.toggle_active, name='toggle_active'),
|
|
]
|