MCPcopy Create free account
hub / github.com/graphql-python/graphene-django / Person

Class Person

graphene_django/tests/models.py:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class Person(models.Model):
37 name = models.CharField(max_length=30)
38 parent = models.ForeignKey(
39 "self", on_delete=models.CASCADE, null=True, blank=True, related_name="children"
40 )
41
42
43class Pet(models.Model):

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…