Don't force-capitalize choice fields

Fixes #133. Thanks to Waitak for the patch.
This commit is contained in:
Andrew Badr 2019-04-06 12:57:45 -04:00 committed by GitHub
parent 090ce6e1f1
commit 552952f29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ singledispatch = import_single_dispatch()
def convert_choice_name(name):
name = to_const(force_text(name))
name = force_text(name)
try:
assert_valid_name(name)
except AssertionError: