Open vaibhav-vasant opened 11 months ago
Don't edit this comment. This comment is managed by Redex for summary and status updates.
"https://github.com/vaibhav-vasant/django-todo/issues/40#issuecomment-1852872084"
https://github.com/vaibhav-vasant/django-todo/issues/40#issuecomment-1852875035
"https://github.com/vaibhav-vasant/django-todo/issues/40#issuecomment-1852881184"
Pull Request link: "https://github.com/vaibhav-vasant/django-todo/issues/40#issuecomment-1852888721"
To implement user registration in the existing Django application, I would need to clarify a few points regarding the current setup and the desired features for the user registration process. Here are my questions:
User Model Customization:
User Registration Fields:
User Authentication:
User Registration Flow:
User Interface:
base.html
?index.html
), and if so, how should it be linked (e.g., a 'Register' button in the navigation bar)?URLs and Views:
/register/
)todos
app, or should it be part of a new app dedicated to user authentication?Integration with Existing Code:
Password Management:
Testing:
Third-Party Integrations:
django-allauth
or django-registration
?Security Considerations:
Once I have the answers to these questions, I can proceed with implementing the user registration feature in a way that integrates seamlessly with the existing codebase and meets the project's requirements.
Create a custom user model . Ask fields like first name, second name, email , password and number UI fields like first name, second name, email , password and number. Password can be at-most 10 characters After successful registration user should be redirected to the page where all notes are shown. No email verification needed No encryption needed
Added a custom user model with registration functionality, including a new form, view, URL pattern, and template. Updated settings and admin to accommodate the new model.
Lint the changes, run unit tests, perform a build, and manually test the registration process. Deploy to a staging environment for further testing before releasing to production. Run migrations in the production environment after deployment.
Pull Request: Implement Custom User Registration: https://github.com/vaibhav-vasant/django-todo/pull/41
Add support for User registration