Sarmad Gulzarblog.sarmad.aiยทJan 11, 2023Creating a custom choice field for enums in Django REST FrameworkThe problem with ChoiceField In Django REST Framework, there is a field called ChoiceField which can be used when you have certain choices for a field in your REST API. For example, let's imagine you were creating an API to convert colors to their re...1.2K readsDjangoAdd a thoughtful commentNo comments yetBe the first to start the conversation.