Skip to content

Docs indicate that IntegerField takes a choices parameter #9597

Discussion options

You must be logged in to vote

This is already fixed in the docs source (fixed in #9563):

room_number = serializers.ChoiceField(choices=[101, 102, 103, 201])

So I assume it's a deployment issue, we usually update them when we make a release.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by browniebroke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants