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

Fix default_url_generator #609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 3, 2024

  1. Fix default_url_generator

    This is the URL that this module defines:
    
        dj_rest_auth/urls.py:    path('password/reset/confirm/', PasswordResetConfirmView.as_view(), name='rest_password_reset_confirm'),
    
    As such, the URL name it should use is rest_password_reset_confirm.
    
    Also, remove false documentation, which recommended to define a
    password_reset_confirm URL "like in the demo" but the demo includes this
    URL, with rest_password_reset_confirm, not password_reset_confirm:
    
        path('password/reset/confirm/', PasswordResetConfirmView.as_view(), name='rest_password_reset_confirm'),
    jpic committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    617e143 View commit details
    Browse the repository at this point in the history