Project Challenge: Sign-Up Form Data Handling
In this challenge, we will complete the Sign-Up process by handling the data and adding a new user in the system.
Problem statement
In this challenge, we will complete the signup process by handling the data. We will also add a new user to the system by signing them up.
đź“Ś Note: You are provided with a list of dictionaries called
users
in line 17 in the application given below. It already contains one user, which is also the admin.
Your tasks in this challenge are:
-
Validation: only properly validated data should be processed.
-
Error handling: validation errors should be shown to the user on the
signup.html
template. -
Insertion of the new user: the valid data after being submitted should then be used to create a new user that is appended to the
users
list. -
Success message: after successful insertion of the new user, the sign-up page should show a “successfully signed up” message.
Get hands-on with 1400+ tech skills courses.