I am doing a Django project. It is supposed to serve as a platform to connect blood donors and seekers where both the donors and seekers will register themselves and search each other.
Part-I: I started it with just 1-app, and a model named Profile. I used these fields; Name, Blood_Type (choices: A+, A- …O-), Contact_Number, and User_Type(choices: Donor, Seeker). Using appropriate URLs, views, and templates, I managed to create registration and search functionalities.
But I also needed sign up, login and logout functions (user management)
Part-II: For user management, I found allauth pretty handy with much work already done. So, in a separate project, I managed to implement user management through allauth.
Challenge: The challenge is to combine Parts I and II. Thus visitors should be able to sign up (Part-I), and complete their profiles (Part-II).
Sign up takes username, email, and password only. Whereas Profile models takes Names, Blood_Type and Contact_Numbers. I should do something so that as soon as a visitor signs up, his username is connected to Name field of Profile model. Then an authenticated user is offered to complete their profile. Or is there a better design option? Please explain this to me as if I am only a beginner in Django.
Best Regards.