diff options
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 2371fd3c8a..21bcba4636 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -610,7 +610,7 @@ in ``get_absolute_url()`` and have all your other code call that one place. .. note:: The string you return from ``get_absolute_url()`` **must** contain only - ASCII characters (required by the URI specfication, :rfc:`2396`) and be + ASCII characters (required by the URI specification, :rfc:`2396`) and be URL-encoded, if necessary. Code and templates calling ``get_absolute_url()`` should be able to use the diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 339b5e18fe..a160587953 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2045,7 +2045,7 @@ Case-insensitive exact match. .. versionchanged:: 1.7 - If the value provided for comparision is ``None``, it will be interpreted + If the value provided for comparison is ``None``, it will be interpreted as an SQL ``NULL`` (see :lookup:`isnull` for more details). Example:: |
