django-rest-framework/tests/records/models.py

7 lines
201 B
Python
Raw Normal View History

from django.db import models
class Record(models.Model):
account = models.ForeignKey('accounts.Account', blank=True, null=True)
owner = models.ForeignKey('users.User', blank=True, null=True)