Created
July 2, 2022 18:35
-
-
Save Bijitakc/7a4dd0e8de440d53ea68dc6601f8b943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from graphene_django import DjangoObjectType | |
from .models import Post | |
class PostType(DjangoObjectType): | |
class Meta: | |
model = Post | |
fields = "__all__" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment