Code

Ticket #3094: correct_1.1.X_XMLField_docs.diff

File correct_1.1.X_XMLField_docs.diff, 749 bytes (added by PaulM, 3 years ago)
Line 
1Index: docs/ref/models/fields.txt
2===================================================================
3--- docs/ref/models/fields.txt  (revision 15755)
4+++ docs/ref/models/fields.txt  (working copy)
5@@ -795,15 +795,13 @@
6 
7 .. class:: XMLField(schema_path=None, [**options])
8 
9-A :class:`TextField` that checks that the value is valid XML that matches a
10-given schema. Takes one required argument:
11+A :class:`TextField` that stores XML data and a path to a schema. Takes one
12+optional argument:
13 
14 .. attribute:: schema_path
15 
16-    The filesystem path to a RelaxNG_ schema against which to validate the
17-    field.
18+    The filesystem path to a schema for the field.
19 
20-.. _RelaxNG: http://www.relaxng.org/
21 
22 Relationship fields
23 ===================