Ticket #15593: reverse_doc_add_urlquote_info.patch
File reverse_doc_add_urlquote_info.patch, 1.0 KB (added by , 14 years ago) |
---|
-
docs/topics/http/urls.txt
787 787 def myview(request): 788 788 return HttpResponseRedirect(reverse('arch-summary', args=[1945])) 789 789 790 791 The string returned from ``reverse()`` is already :ref:`urlquoted <uri-and-iri-handling>`. For example:: 792 793 reverse('cities', args=u'Orléans') --> '.../Orl%C3%A9ans/' 794 795 790 796 .. _URL pattern name: `Naming URL patterns`_ 791 797 792 798 The ``reverse()`` function can reverse a large variety of regular expression -
docs/ref/unicode.txt
140 140 possible on any input data that might be either Unicode or a bytestring, and 141 141 from then on, you can treat the result as always being Unicode. 142 142 143 .. _uri-and-iri-handling: 144 143 145 URI and IRI handling 144 146 ~~~~~~~~~~~~~~~~~~~~ 145 147