diff options
| author | Tom Christie | 2014-01-13 17:38:03 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-01-13 17:38:03 +0000 |
| commit | e91d0a69ab404a79da1dd5d0806d33e972a1a09b (patch) | |
| tree | 16b002eeed52d39b7d803cb62c606edbddd821e9 /rest_framework/tests/users/models.py | |
| parent | d937ce331cc6cd2df04a989b49cca030f65319da (diff) | |
| parent | c4d77667cf80588a2195fdc025bda53a5b977105 (diff) | |
| download | django-rest-framework-e91d0a69ab404a79da1dd5d0806d33e972a1a09b.tar.bz2 | |
Merge branch 'testing-nested-serializers' of git://github.com/dustinfarris/django-rest-framework into dustinfarris-testing-nested-serializers
Diffstat (limited to 'rest_framework/tests/users/models.py')
| -rw-r--r-- | rest_framework/tests/users/models.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rest_framework/tests/users/models.py b/rest_framework/tests/users/models.py new file mode 100644 index 00000000..128bac90 --- /dev/null +++ b/rest_framework/tests/users/models.py @@ -0,0 +1,6 @@ +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) |
