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

Reverse for '/accounts/login/' not found. '/accounts/login/' is not a valid view function or pattern name. #69

Open
jslovern391 opened this issue Aug 31, 2023 · 2 comments

Comments

@jslovern391
Copy link

When using this it marks the user as active, but that is the page it goes to afterward.

\Python\Python311\Lib\site-packages\verify_email\views.py, line 58, in verify_user_and_activate

                    'link': reverse(login_page)
                                ^^^^^^^^^^^^^^^^^^^
@Dhruvil2511
Copy link

Dhruvil2511 commented Oct 13, 2023

Try adding LOGIN_URL = 'yourloginurlhere' in your settings

@leolivier
Copy link

I have LOGIN_URL='/accounts/login' in my settings but it does not work as reverse takes a name like "accounts:login" so LOGIN_URL is NOT an URL actually...

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

No branches or pull requests

3 participants