Skip to content

Commit cd73cab

Browse files
EverWinter23jkimbo
authored andcommitted
converter.py: Fix typo posgres->postgres (#765)
Fixes typo for HStoreField and RangeField converters.
1 parent 0962db5 commit cd73cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ def convert_postgres_array_to_list(field, registry=None):
235235

236236
@convert_django_field.register(HStoreField)
237237
@convert_django_field.register(JSONField)
238-
def convert_posgres_field_to_string(field, registry=None):
238+
def convert_postgres_field_to_string(field, registry=None):
239239
return JSONString(description=field.help_text, required=not field.null)
240240

241241

242242
@convert_django_field.register(RangeField)
243-
def convert_posgres_range_to_string(field, registry=None):
243+
def convert_postgres_range_to_string(field, registry=None):
244244
inner_type = convert_django_field(field.base_field)
245245
if not isinstance(inner_type, (List, NonNull)):
246246
inner_type = type(inner_type)

0 commit comments

Comments
 (0)