﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18692	Django 1.3.2 breaks Python 2.4 compatibility	Christian Hammond	nobody	"The recent URL scheme restriction change assumes Python 2.5+ accessors for the parsed URI information. Specifically, it's looking up parsed.scheme, which isn't available in Python 2.4. Instead, it should be accessing it as a tuple.

The traceback below shows what's happening.

{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/core/handlers/base.py"", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File ""/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/views/generic/simple.py"", line 57, in redirect_to
    return klass(url % kwargs)
  File ""/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/http/__init__.py"", line 645, in __init__
    if parsed.scheme and parsed.scheme not in self.allowed_schemes:
AttributeError: 'tuple' object has no attribute 'scheme'
}}}"	Bug	closed	HTTP handling	1.3	Release blocker	fixed			Accepted	0	0	0	0	0	0
