pallets-eco / pallets-eco/flask-admin
form_choices for flask_admin.contrib.peewee.ModelView doesn't work
Open
Nobody has claimed this yet.
peewee
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.6k
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 1
Description
It seems the form_choices does not work when using the peewee version of ModelView.
Flask-Admin==1.6.0
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
Start by reproducing the issue with form_choices on flask_admin.contrib.peewee.ModelView using Flask-Admin 1.6.0, then compare its behavior with the other ModelView implementations. Trace how form_choices is handled for Peewee fields and add or update coverage so configured choices work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100