mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
magic-removal: Fixed critical bug: Now using preferred spelling of 'malarkey' in Python comment.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7d196979b6
commit
d8ae61b59a
@ -58,7 +58,7 @@ def shortcut(request, content_type_id, object_id):
|
|||||||
except Site.DoesNotExist:
|
except Site.DoesNotExist:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# If all that malarky found an object domain, use it; otherwise fall back
|
# If all that malarkey found an object domain, use it; otherwise fall back
|
||||||
# to whatever get_absolute_url() returned.
|
# to whatever get_absolute_url() returned.
|
||||||
if object_domain is not None:
|
if object_domain is not None:
|
||||||
return http.HttpResponseRedirect('http://%s%s' % (object_domain, absurl))
|
return http.HttpResponseRedirect('http://%s%s' % (object_domain, absurl))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user