Skip to content

Fix default_url_generator#609

Open
jpic wants to merge 1 commit into
iMerica:masterfrom
jpic:rest_password_reset_confirm
Open

Fix default_url_generator#609
jpic wants to merge 1 commit into
iMerica:masterfrom
jpic:rest_password_reset_confirm

Conversation

@jpic
Copy link
Copy Markdown

@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