Open redex-ai opened 10 months ago
The changes include adding a profile picture upload feature to the user profile. This involves updating the User model, profile change form, associated view, and template. Additionally, settings for handling media files are added to the project's configuration.
Add a new ImageField to the User model to store profile pictures.
Update the ChangeProfileForm to include an image upload field for the profile picture.
Modify the ChangeProfileView to handle the image file and save it to the User model.
Add an image upload input to the profile change form template.
Add settings for media files handling, including MEDIA_URL and MEDIA_ROOT.
Add Django's static and media files serving view during development.
Add a log for the email in the backend when the customer creates an account.