Manually testing sign up for my Django app
Yesterday, I added the sign up page to my django app for a library focusing on fantasy books. Today, I've been manually testing it by creating lots of test users through the sign up page: In hindsight, following a testing naming pattern when the number increases by 1 each time would be a lot more logical :D In testing it, I've found a bug. After signing up successfully, sometimes the user is redirected to the homepage where they are already logged in and sometimes they're redirected to the homepage where they still need to log in. I think that a possible fix is to create a separate page that tells the user they've successfully created an account with a link to go to login. The sign up page would direct to this 'register success' page instead of the homepage. The steps involved would be: Create a new template page called 'register success' that tells the user they've successfully created an account and provides a link to login Update how the sign up registration form redirects so that it redirects to the register success page instead of the homepage Add a new url route for the registration success page That's what I'll be doing next on this project!

Yesterday, I added the sign up page to my django app for a library focusing on fantasy books.
Today, I've been manually testing it by creating lots of test users through the sign up page:
In hindsight, following a testing naming pattern when the number increases by 1 each time would be a lot more logical :D
In testing it, I've found a bug. After signing up successfully, sometimes the user is redirected to the homepage where they are already logged in and sometimes they're redirected to the homepage where they still need to log in.
I think that a possible fix is to create a separate page that tells the user they've successfully created an account with a link to go to login.
The sign up page would direct to this 'register success' page instead of the homepage.
The steps involved would be:
- Create a new template page called 'register success' that tells the user they've successfully created an account and provides a link to login
- Update how the sign up registration form redirects so that it redirects to the register success page instead of the homepage
- Add a new url route for the registration success page
That's what I'll be doing next on this project!