diff options
author | prathamesh | 2017-02-01 13:00:34 +0530 |
---|---|---|
committer | prathamesh | 2017-02-01 13:00:34 +0530 |
commit | 8427da2f08ae590b427027abe36351018c685f8e (patch) | |
tree | f6cf886524d6715f35d27a6221934769eb95f3e8 /yaksh/templates/user.html | |
parent | a64b9c30f2cd4554734bba16b0aad7647475000d (diff) | |
download | online_test-8427da2f08ae590b427027abe36351018c685f8e.tar.gz online_test-8427da2f08ae590b427027abe36351018c685f8e.tar.bz2 online_test-8427da2f08ae590b427027abe36351018c685f8e.zip |
Forgot Password and Reset Issue Resolved
The problem was:
We have included yaksh urls to the project urls with the namespace
"yaksh".
So whenever we call the url name i.e "yaksh:<url>" a reverse match is
made.
But for Forgot Password and Change Password we are using django's
in-built functionality, where the reverse url is hardcoded.
So the reverse match fails as the namespace is not specified!
To resolve this, created a urls_password_reset URL dispatcher file and
included to the project urls.
Diffstat (limited to 'yaksh/templates/user.html')
-rw-r--r-- | yaksh/templates/user.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index 6f2137d..6f879fe 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -29,7 +29,7 @@ <li><a href="{{ URL_ROOT }}/exam/quizzes"> Home </a></li> <li><a href="{{ URL_ROOT }}/exam/quizzes/enrolled/"> Enrolled Courses </a></li> <li><a href="{{ URL_ROOT }}/exam/viewprofile"> Profile </a></li> - <li><a href="{{ URL_ROOT }}/exam/changepassword"> Change Password </a></li> + <li><a href="{{ URL_ROOT }}/exam/reset/changepassword"> Change Password </a></li> </ul> </div> <div class="col-sm-8 col-sm-offset-3 col-md-9 col-md-offset-2 main"> |