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

Conversation

jpic
Copy link

@jpic jpic commented Apr 3, 2024

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

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 jpic force-pushed the rest_password_reset_confirm branch from bdfb6cd to 617e143 Compare April 3, 2024 14:11
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.

1 participant