Skip to content

Commit 6e1d340

Browse files
author
=
committed
Merge branch 'master' of git://github.com/graphql-python/graphene-django into rm-django1.7
2 parents d2db5f5 + b54e02c commit 6e1d340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'pytest-django==2.9.1',
2525
] + rest_framework_require
2626

27+
django_version = 'Django>=1.8.0,<2' if sys.version_info[0] < 3 else 'Django>=1.8.0'
2728
setup(
2829
name='graphene-django',
2930
version=version,
@@ -58,7 +59,7 @@
5859
install_requires=[
5960
'six>=1.10.0',
6061
'graphene>=2.0,<3',
61-
'Django>=1.8.0',
62+
django_version,
6263
'iso8601',
6364
'singledispatch>=3.4.0.3',
6465
'promise>=2.1',

0 commit comments

Comments
 (0)