diff options
author | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-06 07:03:27 +0000 |
---|---|---|
committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-06 07:03:27 +0000 |
commit | 20cf3b82a1f4f7a2feb8e74152e581e621b37e89 (patch) | |
tree | 0edcdbaac997770ffcc7d2eaad6fc6b6ca719f6e | |
parent | cb4b469a7f3c27a971006a6f3a0504a27e93be4a (diff) | |
download | django-20cf3b82a1f4f7a2feb8e74152e581e621b37e89.tar.gz |
[1.2.X] Fixed #3094 -- Updated docs to reflect actual behavior of XMLField. Thanks to PaulM for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r-- | docs/ref/models/fields.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index a0cd6fbb2c..4b03dc58c7 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -838,15 +838,13 @@ Like all :class:`CharField` subclasses, :class:`URLField` takes the optional .. class:: XMLField(schema_path=None, [**options]) -A :class:`TextField` that checks that the value is valid XML that matches a -given schema. Takes one required argument: +A :class:`TextField` that stores XML data and a path to a schema. Takes one +optional argument: .. attribute:: schema_path - The filesystem path to a RelaxNG_ schema against which to validate the - field. + The filesystem path to a schema for the field. -.. _RelaxNG: http://www.relaxng.org/ Relationship fields =================== |