12-hour working day

This commit is contained in:
Sokurov Idar
2021-03-11 19:17:11 +03:00
parent dd08821aea
commit 60e1da2825
4 changed files with 7 additions and 8 deletions

View File

@@ -135,7 +135,6 @@ ACCOUNT_ACTIVATION_DAYS = 7
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
# Название_приложения.Названиеайла.Название_класса_обработчика
AUTHENTICATION_BACKENDS = [
'access_controller.auth.EmailAuthBackend',
@@ -183,3 +182,5 @@ ZENDESK_ROLES = {
'engineer': 360005209000,
'light_agent': 360005208980,
}
ONE_DAY = 12 # Количество часов в 1 рабочем дне

View File

@@ -33,8 +33,6 @@ urlpatterns = [
path('work/<int:id>', work_page, name="work"),
path('work/hand_over/', work_hand_over, name="work_hand_over"),
path('work/become_engineer/', work_become_engineer, name="work_become_engineer"),
path('accounts/', include('django_registration.backends.activation.urls')),
path('accounts/login/', include('django.contrib.auth.urls')),
path('control/', AdminPageView.as_view(), name='control'),
path('statistic/', statistic_page, name='statistic')
]