mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Assumed iri_to_uri always returns a string
Thanks Tim Graham for the review.
This commit is contained in:
parent
f0573aad4b
commit
d2e7d15b4c
5 changed files with 18 additions and 17 deletions
|
@ -733,8 +733,7 @@ in ``get_absolute_url()`` and have all your other code call that one place.
|
|||
Code and templates calling ``get_absolute_url()`` should be able to use the
|
||||
result directly without any further processing. You may wish to use the
|
||||
``django.utils.encoding.iri_to_uri()`` function to help with this if you
|
||||
are using unicode strings containing characters outside the ASCII range at
|
||||
all.
|
||||
are using strings containing characters outside the ASCII range.
|
||||
|
||||
Extra instance methods
|
||||
======================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue