Skip to content

Conversation

mbetz08
Copy link
Contributor

@mbetz08 mbetz08 commented Oct 13, 2015

More efforts to achieve Django 1.6 compatibility!

Problem

Graphene's Django views uses Django JsonResponse object, which wasn't introduced until Django 1.7.

Proposed Solution

Use HttpResponse instead of JsonResponse with JSON encoded data. Also, tests that passed on master passed with this change.

@syrusakbary
Copy link
Member

👍

syrusakbary added a commit that referenced this pull request Oct 13, 2015
Django 1.6 compatibility for views
@syrusakbary syrusakbary merged commit 625c6da into graphql-python:master Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants