igor_nadein
19464a38cf
refactor(employees): DRY duplicate logic in employees and departments
employees.py:
- Extracted _perform_user_update() method (180 lines)
- Simplified me PATCH: removed ~150 lines of duplicate code
- Simplified partial_update: removed ~155 lines of duplicate code
- Total reduction: ~255 lines (930 → 675)
departments.py:
- Extracted _perform_set_head() method (70 lines)
- Simplified set_head action: removed ~50 lines of duplicate code
- Simplified partial_update head branch: removed ~70 lines of duplicate code
- Total reduction: ~140 lines (752 → 612)
manage.py check: System check identified no issues
2026-02-16 16:32:12 +03:00
..
2026-02-16 16:32:12 +03:00
2025-09-09 17:55:15 +03:00
2026-02-12 15:59:53 +03:00
2026-01-05 11:20:56 +03:00
2026-01-22 01:33:42 +03:00
2026-02-12 15:59:53 +03:00
2026-01-09 14:56:44 +03:00
2026-02-06 15:33:48 +03:00
2026-02-16 16:21:45 +03:00
2026-01-09 14:48:43 +03:00
2025-11-20 09:00:55 +03:00
2026-01-13 10:19:26 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-13 15:02:29 +03:00
2025-09-11 17:56:33 +03:00
2026-02-12 16:04:34 +03:00
2026-02-12 15:59:53 +03:00
2026-02-12 15:59:53 +03:00
2025-07-30 08:15:53 +03:00
2026-01-05 10:47:56 +03:00
2026-01-08 16:14:00 +03:00
2026-02-11 12:52:25 +03:00
2025-11-20 09:00:55 +03:00
2025-09-03 17:17:44 +03:00
2026-02-11 12:52:25 +03:00
2025-07-30 08:15:53 +03:00
2026-01-05 07:41:34 +03:00
2026-01-22 01:33:42 +03:00
2026-01-08 16:14:00 +03:00
2026-01-06 07:48:04 +03:00
2026-02-11 12:52:25 +03:00
2026-02-11 12:52:25 +03:00
2026-01-08 16:55:54 +03:00
2026-01-09 15:07:55 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-01-22 01:33:42 +03:00
2026-02-12 15:59:53 +03:00
2026-01-13 09:18:25 +03:00