mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-02 14:34:04 +03:00
7 lines
201 B
Python
7 lines
201 B
Python
|
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)
|