Fixed typo in a docstring in django/contrib/admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fcdbb92918
commit
d04a2e792c
|
@ -46,8 +46,8 @@ def quote(s):
|
||||||
"""
|
"""
|
||||||
Ensure that primary key values do not confuse the admin URLs by escaping
|
Ensure that primary key values do not confuse the admin URLs by escaping
|
||||||
any '/', '_' and ':' characters. Similar to urllib.quote, except that the
|
any '/', '_' and ':' characters. Similar to urllib.quote, except that the
|
||||||
quoting is slightly different so that it doesn't get autoamtically
|
quoting is slightly different so that it doesn't get automatically
|
||||||
unquoted by the web browser.
|
unquoted by the Web browser.
|
||||||
"""
|
"""
|
||||||
if type(s) != type(''):
|
if type(s) != type(''):
|
||||||
return s
|
return s
|
||||||
|
|
Loading…
Reference in New Issue