profcomff / profcomff/auth-api
Работа с софтделитами в sqladmin
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Добавить софтделиты в form_ajax_refs
Сейчас при использовании form_ajax_refs высвечиваются в том числе is_deleted=True
надо это исправить
текущий кастомный FilteredModelConverter не работает на ajax, так что надо новое написать
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the sqladmin form_ajax_refs handling and the existing FilteredModelConverter mentioned in the issue; first trace how AJAX form references build their query. The change is complete when records with is_deleted=True no longer appear in form_ajax_refs results, while non-deleted records remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100