diff options
| author | Tom Christie | 2014-02-21 14:24:27 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-02-21 14:24:27 +0000 |
| commit | 6e92e415aa7dd6871ef7d6500a85cacebde8dca2 (patch) | |
| tree | f61c7876fe5b3af44690b0419495da510a884807 /docs/api-guide/serializers.md | |
| parent | 98410693738aa81528bef2016a69e87560ae4ae3 (diff) | |
| parent | c3967c08ab48a8129b7d7fdc00175fd203aea6c8 (diff) | |
| download | django-rest-framework-6e92e415aa7dd6871ef7d6500a85cacebde8dca2.tar.bz2 | |
Merge pull request #1436 from meshy/patch-1
Minor docs example fix
Diffstat (limited to 'docs/api-guide/serializers.md')
| -rw-r--r-- | docs/api-guide/serializers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index 39fe61eb..7ee060af 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -161,7 +161,7 @@ To do any other validation that requires access to multiple fields, add a method """ Check that the start is before the stop. """ - if attrs['start'] < attrs['finish']: + if attrs['start'] > attrs['finish']: raise serializers.ValidationError("finish must occur after start") return attrs |
