AttributeError: type object 'User' has no attribute 'name'
This is a cryptic error that happens when Django Model classes are accidentally used in code instead of graphene Type classes. For example, make sure that your query is something like
user = graphene.Field(UserType)
instead of
user = graphene.Field(User)