Is the builtin "password_change" view calls function "reverse" missing arguments?

9 views
Skip to first unread message

Sen Ni

unread,
Mar 8, 2016, 5:59:52 AM3/8/16
to Django users
When I use the builtin "password_change" view, I came with an error, so I check the source code in "django/contrib/auth/views.py", (django version 1.9.0) , at line 308, call the function "reverse", just the argument "password_change_done".
Then I check the "reverse" in "django/core/urlresolvers.py", It seems without argument "current_app" it cannot find the right place where my "password_change_done" is?, so it made my problem, because my "password_change" and "password_change_done" views are in the "authentication" app.
The error message : “Reverse for 'password_change_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []”
It is a mistake or I missing somewhat?
Thanks!
Reply all
Reply to author
Forward
0 new messages