Skip to content

Commit 82fcb37

Browse files
jkimbosyrusakbary
andcommitted
Update graphene_django/converter.py
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
1 parent 8fb8b17 commit 82fcb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def generate_enum_name(django_model_meta, field):
7575
):
7676
name = graphene_settings.DJANGO_CHOICE_FIELD_ENUM_CUSTOM_NAME(field)
7777
elif graphene_settings.DJANGO_CHOICE_FIELD_ENUM_V3_NAMING is True:
78-
name = "DjangoModel{app_label}{object_name}{field_name}Choices".format(
78+
name = "{app_label}{object_name}{field_name}Choices".format(
7979
app_label=to_camel_case(django_model_meta.app_label.title()),
8080
object_name=django_model_meta.object_name,
8181
field_name=to_camel_case(field.name.title()),

0 commit comments

Comments
 (0)