8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54372b4 commit 43416daCopy full SHA for 43416da
graphene_django/converter.py
@@ -1,5 +1,4 @@
1
import inspect
2
-from collections import OrderedDict
3
from functools import partial, singledispatch, wraps
4
5
from django.db import models
@@ -72,7 +71,7 @@ def convert_choice_name(name):
72
71
73
def get_choices(choices):
74
converted_names = []
75
- if isinstance(choices, OrderedDict):
+ if isinstance(choices, dict):
76
choices = choices.items()
77
for value, help_text in choices:
78
if isinstance(help_text, (tuple, list)):
0 commit comments