diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-16 14:34:41 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-16 14:40:10 -0500 |
| commit | 53b40d75b787b1f76e08aa078de88bae6473a3fc (patch) | |
| tree | 928e220ad9e4f04748fe8e1c5e34105d82de0b5e /django/utils/encoding.py | |
| parent | 06b5f5fcb6db2fc20e2d455a34f3f4b0293cfd8c (diff) | |
[1.5.X] Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
Backport of 507c081484 from master
Diffstat (limited to 'django/utils/encoding.py')
| -rw-r--r-- | django/utils/encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/encoding.py b/django/utils/encoding.py index b0872471c2..15215849b2 100644 --- a/django/utils/encoding.py +++ b/django/utils/encoding.py @@ -216,7 +216,7 @@ def iri_to_uri(iri): return quote(force_bytes(iri), safe=b"/#%[]=:;$&()+,!?*@'~") def filepath_to_uri(path): - """Convert an file system path to a URI portion that is suitable for + """Convert a file system path to a URI portion that is suitable for inclusion in a URL. We are assuming input is either UTF-8 or unicode already. |
