Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable email confirmation ratelimit in tests to support new allauth #597

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

leona-ya
Copy link
Contributor

@leona-ya leona-ya commented Mar 5, 2024

allauth introduced a very restrictive rate limit of 1 email confirmation per 180s in v0.61.0. This doesn't work in the tests.

As we want to support newer allauth versions, simply disable the ratelimit in the tests.

allauth introduced a very restrictive rate limit of 1 email
confirmation per 180s in v0.61.0. This doesn't work in the tests.
@iMerica iMerica merged commit 3762816 into iMerica:master Mar 24, 2024
3 checks passed
@leona-ya leona-ya deleted the support-newer-allauth branch March 24, 2024 22:03
@@ -28,11 +28,11 @@
keywords='django rest auth registration rest-framework django-registration api',
zip_safe=False,
install_requires=[
'Django>=3.2',
'Django>=3.2,<5.0',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why? I use dj-rest-auth/allauth with django5 with no problems

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iMerica Why was this change included to require Django<5.0? dj-rest-auth v5.0.2 worked well on Django v5.0

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.

4 participants