diff options
| author | Tom Christie | 2012-10-26 05:22:34 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-10-26 05:22:34 -0700 |
| commit | 7cdedc0f71f362895b71c8075d5e853e9685a9f9 (patch) | |
| tree | 360ba91c91577f09f8b7e3f3b24d8e80f689fc46 /rest_framework/tests/models.py | |
| parent | 365d20652eb7b56c9d1d4b63b52c056f03cab514 (diff) | |
| parent | 67f1265e493adc35239d90aeb3bfeb8492fbd741 (diff) | |
| download | django-rest-framework-7cdedc0f71f362895b71c8075d5e853e9685a9f9.tar.bz2 | |
Merge pull request #321 from tomchristie/pastebin_tutorial
Tweaks and fixes in order to support the pastebin tutorial
Diffstat (limited to 'rest_framework/tests/models.py')
| -rw-r--r-- | rest_framework/tests/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/models.py b/rest_framework/tests/models.py index 97cd0849..0ee18c69 100644 --- a/rest_framework/tests/models.py +++ b/rest_framework/tests/models.py @@ -62,12 +62,12 @@ class CallableDefaultValueModel(RESTFrameworkModel): class ManyToManyModel(RESTFrameworkModel): rel = models.ManyToManyField(Anchor) - + class ReadOnlyManyToManyModel(RESTFrameworkModel): text = models.CharField(max_length=100, default='anchor') rel = models.ManyToManyField(Anchor) - + # Models to test generic relations |
