mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Assumed iri_to_uri always returns a string
Thanks Tim Graham for the review.
This commit is contained in:
@@ -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
|
||||
======================
|
||||
|
||||
Reference in New Issue
Block a user