📜  pip django graphql - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:11.714000             🧑  作者: Mango

代码示例4
# examples
from django.db import models

class UserModel(models.Model):
    name = models.CharField(max_length=100)
    last_name = models.CharField(max_length=100)