graphql-python / graphql-python/graphene-django

add description to convert_onetoone_field_to_djangomodel

Open
#1,206 0 comments 0 reactions 0 assignees View on GitHub
✨enhancement
Dominant language
Python
Stars
4.4k
Forks
760
PR merge metrics
No merged PRs in 30d

Description

file: graphene_django/converter.py

line:201

old code:
```py
return Field(_type, required=not null)
```

i wanna:
```py
return Field(_type, description=getattr(model._meta, 'verbose_name', model._meta.label), required=not null)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.