Code

Ticket #2364: numericrangevalidator-doc.diff

File numericrangevalidator-doc.diff, 736 bytes (added by mattmcc, 8 years ago)

Doc patch for docs/forms.txt

Line 
1Index: docs/forms.txt
2===================================================================
3--- docs/forms.txt      (revision 3358)
4+++ docs/forms.txt      (working copy)
5@@ -581,6 +581,11 @@
6     the executable specified in the ``JING_PATH`` setting (see the settings_
7     document for more details).
8 
9+``NumericRangeValidator``
10+    Takes two boundary numbers, lower_bound and upper_bound.  Both parameters
11+    are optional.  With lower_bound only, a '>=' is performed.  With
12+    upper_bound only, a '<=' is performed.
13+
14 .. _`generic views`: http://www.djangoproject.com/documentation/generic_views/
15 .. _`models API`: http://www.djangoproject.com/documentation/model_api/
16 .. _settings: http://www.djangoproject.com/documentation/settings/