Skip to content

Commit

Permalink
Require Django version < 2.0 for now (otherwise tests fail)
Browse files Browse the repository at this point in the history
Error with Django 2.0:
  File ".../wq.db/.eggs/python_social_auth-0.2.21-py3.4.egg/social/apps/django_app/default/models.py", line 33, in AbstractUserSocialAuth
      user = models.ForeignKey(USER_MODEL, related_name='social_auth')
  TypeError: __init__() missing 1 required positional argument: 'on_delete'
  • Loading branch information
Tomasz Nowak committed Dec 19, 2017
1 parent 6fb0c46 commit 43065fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -97,7 +97,7 @@ def find_wq_packages(submodule):
description=LONG_DESCRIPTION.strip(),
long_description=parse_markdown_readme(),
install_requires=[
'Django>=1.8',
'Django>=1.8,<2.0',
'djangorestframework>=3.3.3',
'django-mustache',
'html-json-forms',
Expand Down

0 comments on commit 43065fc

Please sign in to comment.