DEV: expose vacancy response status to applicant - #717
Merged
Conversation
TThanos3000
force-pushed
the
feature/dev-vacancy-response-status
branch
from
August 28, 2026 19:56
fba8fce to
dca0e33
Compare
TThanos3000
marked this pull request as ready for review
August 28, 2026 20:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменено
response_status.with_applicant_state()получаетVacancyResponse.is_approvedcorrelated subquery в том же queryset вакансии.pending,accepted,rejectedлибоnull.has_responded,can_respondиcan_manage_responsesне изменены.Контракт
response_status: null;is_approved IS NULL:response_status: "pending";is_approved = true:response_status: "accepted";is_approved = false:response_status: "rejected".Проверки
vacancy: passed.manage.py check: passed в PostgreSQL CI.manage.py check --tag models: passed локально и в PostgreSQL CI.makemigrations --check --dry-run: passed, изменений моделей нет.git diff --check: passed.localhost:5432недоступен; SQLite не использовался.manage.py checkблокируется отсутствующей системной библиотекой WeasyPrint (gobject-2.0-0), при этом эта проверка успешно прошла в CI.Границы
devat7d41166cc33d42c7c0691c1ae8cf4a91edc30757.