Pull requests

#32 Open
Repository
ddevine/django-piston-1.5compat django-piston-1.5compat
Branch
default
Repository
jespern/django-piston django-piston
Branch
default

Add check to bypass HttpResponseWrapper for versions of django >= 1.4

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/ddevine/django-piston-1.5compat
Author
  1. Daniel Devine
Reviewers
Description

The most noticeable effect of this is that the rc.* responses now work in Django 1.5 rather than causing a crash.

HttpResponseWrapper was needed to manually set the _container and _is_string / _base_content_is_iter properties based on the type of the value parameter. This is because of bug http://code.djangoproject.com/ticket/9403 and was fixed in bug 16494 in Django 1.4 alpha.

  • Learn about pull requests

Comments (0)