diff options
| author | Tom Christie | 2012-10-26 13:20:30 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-26 13:20:30 +0100 |
| commit | 67f1265e493adc35239d90aeb3bfeb8492fbd741 (patch) | |
| tree | 360ba91c91577f09f8b7e3f3b24d8e80f689fc46 /rest_framework/tests/models.py | |
| parent | fc4614a89c5c2bbdeb3626e2f16e3a2cd6445e3e (diff) | |
| download | django-rest-framework-67f1265e493adc35239d90aeb3bfeb8492fbd741.tar.bz2 | |
Fix failing 'default' on ModelSerializer
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 |
