Fixed #392 -- Fixed bug in memcache setup if arguments are given. Thanks, adrian@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
29c50bc0d4
commit
582e6a1010
|
@ -243,7 +243,7 @@ def get_cache(backend_uri):
|
||||||
qpos = rest.find('?')
|
qpos = rest.find('?')
|
||||||
if qpos != -1:
|
if qpos != -1:
|
||||||
params = dict(parse_qsl(rest[qpos+1:]))
|
params = dict(parse_qsl(rest[qpos+1:]))
|
||||||
host = rest[:qpos]
|
host = rest[2:qpos]
|
||||||
else:
|
else:
|
||||||
params = {}
|
params = {}
|
||||||
if host.endswith('/'):
|
if host.endswith('/'):
|
||||||
|
|
Loading…
Reference in New Issue