1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

boulder-oracle-sprint: Merged to trunk [4276]

git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Boulder Sprinters
2007-01-03 20:46:26 +00:00
parent 499bfc1f4a
commit 92b7851424
28 changed files with 776 additions and 37 deletions

View File

@@ -46,8 +46,8 @@ def quote(s):
"""
Ensure that primary key values do not confuse the admin URLs by escaping
any '/', '_' and ':' characters. Similar to urllib.quote, except that the
quoting is slightly different so that it doesn't get autoamtically
unquoted by the web browser.
quoting is slightly different so that it doesn't get automatically
unquoted by the Web browser.
"""
if type(s) != type(''):
return s