mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
queryset-refactor: Merged from trunk up to [6595].
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -20,8 +20,12 @@ friends'
|
||||
>>> from django.utils.http import urlquote, urlquote_plus
|
||||
>>> urlquote(u'Paris & Orl\xe9ans')
|
||||
u'Paris%20%26%20Orl%C3%A9ans'
|
||||
>>> urlquote(u'Paris & Orl\xe9ans', safe="&")
|
||||
u'Paris%20&%20Orl%C3%A9ans'
|
||||
>>> urlquote_plus(u'Paris & Orl\xe9ans')
|
||||
u'Paris+%26+Orl%C3%A9ans'
|
||||
>>> urlquote_plus(u'Paris & Orl\xe9ans', safe="&")
|
||||
u'Paris+&+Orl%C3%A9ans'
|
||||
|
||||
### iri_to_uri ###########################################################
|
||||
>>> from django.utils.encoding import iri_to_uri
|
||||
|
||||
Reference in New Issue
Block a user