igor_nadein
3aa0dadf2e
feat: Replace custom search with django-watson
- Installed django-watson 1.6.3
- Added watson to INSTALLED_APPS
- Created search_indexes.py with model registrations:
* Post (title, body)
* Employee (name, email, phone)
* Department (name, description)
* Request (title, comment)
* Chat (name, description)
* Message (content)
* CalendarEvent (title, description)
- Replaced search/views.py (484 lines → 158 lines)
- Applied watson migrations and built search indexes (1015 entries)
- Tested search functionality
Benefits:
- 67% code reduction (326 lines removed)
- Better search relevance with full-text indexing
- Automatic ranking and highlighting
- Less maintenance burden
2026-02-27 18:12:21 +03:00
..
2026-02-27 17:55:42 +03:00
2025-09-09 17:55:15 +03:00
2026-02-25 11:13:20 +03:00
2026-02-16 17:07:15 +03:00
2026-02-25 20:29:00 +03:00
2026-02-25 20:29:00 +03:00
2026-01-09 14:56:44 +03:00
2026-02-27 18:12:21 +03:00
2026-02-27 18:12:21 +03:00
2026-01-09 14:48:43 +03:00
2025-11-20 09:00:55 +03:00
2026-02-24 15:40:50 +03:00
2026-02-17 18:32:30 +03:00
2026-02-27 17:55:42 +03:00
2025-12-15 12:11:24 +03:00
2026-02-27 16:36:16 +03:00
2026-01-22 01:33:42 +03:00
2026-02-24 20:24:39 +03:00
2026-02-27 18:12:21 +03:00
2026-02-27 16:36:16 +03:00
2026-02-27 16:36:16 +03:00
2026-02-27 17:55:42 +03:00
2025-07-30 08:15:53 +03:00
2026-02-24 15:40:50 +03:00
2026-02-24 15:40:50 +03:00
2026-02-24 20:24:39 +03:00
2026-02-25 11:13:20 +03:00
2026-02-24 15:40:50 +03:00
2026-02-24 20:24:39 +03:00
2026-02-24 15:40:50 +03:00
2025-09-03 17:17:44 +03:00
2026-02-24 15:40:50 +03:00
2025-07-30 08:15:53 +03:00
2026-02-17 18:34:16 +03:00
2025-12-26 13:49:51 +03:00
2026-02-24 15:40:50 +03:00
2026-02-27 16:36:16 +03:00
2026-02-27 18:12:21 +03:00
2026-02-26 20:18:37 +03:00
2026-01-06 07:48:04 +03:00