Team-uMigrate / umigrate

Source code for the uMigrate project
13 stars 2 forks source link

API: Add endpoints for retrieving lists of choices #463

Open deandrebaker opened 3 years ago

deandrebaker commented 3 years ago

Currently, the front-end has hard-coded values for all of the fields that have predefined choices. It requires too much maintenance to keep these lists in sync between the front-end and back-end. We should make endpoints on the back-end that the front-end can call to get each list of choices.

As a bonus, add better comments to the choices.py file.