graphene-django-extras icon indicating copy to clipboard operation
graphene-django-extras copied to clipboard

Extras functionalities for Graphene-Django

Results 77 graphene-django-extras issues
Sort by recently updated
recently updated
newest added

comma wasnt removed but a line was added and a comma was not. also black wants kwargs on seperate lines.

Hi, Want to send the tablename and generate the dynamic shcema Could you please tell me how to achieve this?

I have articles. Each user must be read only their own articles. -> Articles.objects.filter(user=request.user) ``` class ArticleModelType(DjangoSerializerType): class Meta: filter_fields = { 'name': ['exact'], 'category': ['exact'], 'category__name': ['exact'] } serializer_class...

I want to be able to apply a global filter for a model, for example by a published field. See this example code and the comment inside the get_queryset method:...

When using DjangoObjectType from `graphene_django` it is possible to reduce the fields by setting the `fields` in the Meta class. For example: ```python from graphene_django import DjangoObjectType class PerformanceType(DjangoObjectType): class...

Hello, I have the following code ```python Class OurLivraison(models.Model): ...... class Mouvement(models.Model): livraison = livraison = models.ForeignKey("livraison.Livraison", on_delete=models.CASCADE) class OurLivraisonMutation(CustomDjangoSerializerMutation): class Meta: serializer_class = serializers.OurLivraisonSerializer nested_fields = {"mouvements": MouvementSerializer} class...

Hi @eamigo86, what is the purpose of returning "return cls(**resp)" in the perform_mutate method of the DjangoSerializerMutation class? If we simple return "resp" itself we gain the ability to directly...

DjangoFilterPaginateListField simply returns `manager.all()` and ignores all parameters passed to the field. For instance, l have the following: ``` class Query(graphene.ObjectType): variable = DjangoFilterPaginateListField( SomeType, id=graphene.ID(required=True) ) @login_required def resolve_variable(self,...

Hello, I would like to use "__in" as a filter lookup expression but I am getting errors. I have a manyToMany relation on a model: ``` class A(models.Model): b_list =...