DMASCoreDeclan / PRD-PP4-Blog

Blogstar for PP4
0 stars 1 forks source link

Site Owner User Story: Automatically Profile creation #36

Closed DMASCoreDeclan closed 9 months ago

DMASCoreDeclan commented 9 months ago

As the Site Owner I can ensure User Profiles have a default image so that a User has a default Profile that they can change in profile.html when they are logged in

At presend users/models appends a CloudinaryField to the User model. When used from admin/users/profile/add/, you can create a Profile which loads a default image if no specific image is added. The default image, 'placeholder.jpg' is stored in Cloudinary. However the profile is currently created by a manual process, I want to automate this.

DMASCoreDeclan commented 9 months ago

Acceptance criteria 1 A new User Wendy was created and their Profile was also created: image

Acceptance criteria 2 Previously, this code was required: image

However, the code now produces the same result when the DTL is removed: image