Feature: Signals Module for User Management app
Summary
Implement a signals module to manage user-related actions in by automatically creating and updating associated Profile objects. This feature will enhance the consistency between User and Profile instances within the application.
Description
The signals module will contain signal receivers that listen for the post_save signal from the User model.
The two main functionalities will include:
- Creating a Profile: Automatically create a Profile instance whenever a new User is created.
- Saving a Profile: Save the associated Profile instance whenever the User is saved.
Benefits
- Consistency: Maintains the relationship between User and Profile objects seamlessly.
- Automatic Management: Reduces the need for manual intervention when creating or updating user profiles.
- Cleaner Code: Encourages the use of signals to handle related model actions, leading to more organized and maintainable code.
Tasks