Open marycklein opened 11 months ago
I want to work on this
@sim-codes, I've updated the issue description to include two tasks:
The related PR currently only contains the changes to the email template. So, we will need to also display instructions to check the registrants email on the website using the Django messages framework.
I've updated the issue description to contain the particular code to change. Please try the instructions/code in the new description and let me know if you encounter any difficulties.
When a person "registers," they get no feedback, but are just tossed back onto home page with no evidence of success.
Instead, could they be rewarded with a message that says something like: "Thanks for starting to register an account on our website. To complete your registration, please check your email for an message from us. You should have just received one. Please look in your spam / junk folder if our message is not in your inbox.
Also, Please revise the message they get in that email so that it says something like: "Thanks for beginning your registration process on the Western Friend website. To complete your registration, click on the link below. If the link doesn't respond, please cut an paste it into your browser, then hit your return key.
Task
Resources
This project is already configured to use and correctly messages from the Django messages framework. So, we should only need a small change to trigger the message, as described in the Django messages documentation.
The message should be added within a callback of our
CustomRegistrationView
such as theform_valid
handler which redirects to the main page:https://github.com/WesternFriend/westernfriend.org/blob/a138f1bd251bac71f85dd198743e4c587da5514c/accounts/views.py#L12-L23
The above code could be extended with the following
form_valid
method: