• Stars
    star
    1
  • Language
    Python
  • License
    MIT License
  • Created almost 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This package is a mixin for Django REST Framework's (DRF) ModelViewSet, which adds a new action '/choices/' that returns a list of values and labels for the choices of a specified model field. It makes it easy to retrieve the choices for a model field in a DRF ModelViewSet, without the need to manually define a the action in each ModelViewSet.