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:

  1. Validation: only properly validated data should be processed.

  2. Error handling: validation errors should be shown to the user on the signup.html template.

  3. 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.

  4. Success message: after successful insertion of the new user, the sign-up page should show a “successfully signed up” message.

Get hands-on with 1200+ tech skills courses.