Closed patriczek2811 closed 7 years ago
Internal Server Error: /user/patrik.predny/ Traceback (most recent call last): File "C:\Python34\lib\site-packages\django\core\handlers\base.py", line 149, in get_response response = self.process_exception_by_middleware(e, request) File "C:\Python34\lib\site-packages\django\core\handlers\base.py", line 147, in get_response response = wrapped_callback(request, *callback_args, *callback_kwargs) File "C:\Python34\lib\site-packages\django\contrib\auth\decorators.py", line 23, in _wrapped_view return view_func(request, args, kwargs) File "C:\Users\patri\Desktop\Hodoor-front-end-design\Hodoor\attendance\views.py", line 138, in user avg_work_hours_fullfill_quota = (hours_quota - unassigned_closed_session_hours - hours_work_this_month) / (num_of_workdays - num_of_elapsed_workdays)**
-- this bug can you see only on last day of month
Internal Server Error: /user/patrik.predny/ Traceback (most recent call last): File "C:\Python34\lib\site-packages\django\core\handlers\base.py", line 149, in get_response response = self.process_exception_by_middleware(e, request) File "C:\Python34\lib\site-packages\django\core\handlers\base.py", line 147, in get_response response = wrapped_callback(request, *callback_args, *callback_kwargs) File "C:\Python34\lib\site-packages\django\contrib\auth\decorators.py", line 23, in _wrapped_view return view_func(request, args, kwargs) File "C:\Users\patri\Desktop\Hodoor-front-end-design\Hodoor\attendance\views.py", line 138, in user avg_work_hours_fullfill_quota = (hours_quota - unassigned_closed_session_hours - hours_work_this_month) / (num_of_workdays - num_of_elapsed_workdays)**
-- this bug can you see only on last day of month