mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 18:13:57 +03:00
7 lines
233 B
Python
7 lines
233 B
Python
|
from django.db import models
|
||
|
|
||
|
|
||
|
class User(models.Model):
|
||
|
account = models.ForeignKey('accounts.Account', blank=True, null=True, related_name='users')
|
||
|
active_record = models.ForeignKey('records.Record', blank=True, null=True)
|