Skip to content

Commit

Permalink
Install allacccount middleware in test settings (#561)
Browse files Browse the repository at this point in the history
and upgrade django-allauth past 0.56.0.

Closes: #555
  • Loading branch information
mweinelt authored Oct 27, 2023
1 parent 9945397 commit 8aa8b9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dj_rest_auth/tests/requirements.pip
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coveralls==1.11.1
django-allauth==0.55.2
django-allauth==0.57.0
djangorestframework-simplejwt==4.6.0
flake8==3.8.4
responses==0.12.1
Expand Down
1 change: 1 addition & 0 deletions dj_rest_auth/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'allauth.account.middleware.AccountMiddleware',
]

# Adding for backwards compatibility for Django 1.8 tests
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
'djangorestframework>=3.13.0',
],
extras_require={
'with_social': ['django-allauth>=0.55.0,<0.56.0'],
'with_social': ['django-allauth>=0.56.0,<0.58.0'],
},
tests_require=[
'coveralls>=1.11.1',
'django-allauth==0.55.2',
'django-allauth>=0.57.0',
'djangorestframework-simplejwt==4.6.0',
'responses==0.12.1',
'unittest-xml-reporting==3.0.4',
Expand Down

0 comments on commit 8aa8b9a

Please sign in to comment.