graphene-django/graphene_django/rest_framework/models.py

7 lines
166 B
Python
Raw Normal View History

2017-11-13 23:35:00 +03:00
from django.db import models
class MyFakeModel(models.Model):
cool_name = models.CharField(max_length=50)
2017-11-15 01:10:26 +03:00
created = models.DateTimeField(auto_now_add=True)