mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 19:14:11 +03:00
12 lines
308 B
Python
12 lines
308 B
Python
from django.db import models
|
|
|
|
|
|
class MyFakeModel(models.Model):
|
|
cool_name = models.CharField(max_length=50)
|
|
created = models.DateTimeField(auto_now_add=True)
|
|
|
|
|
|
class MyFakeModelWithPassword(models.Model):
|
|
cool_name = models.CharField(max_length=50)
|
|
password = models.CharField(max_length=50)
|