Closed bpepple closed 3 years ago
Describe the bug When editing a user profile and the users profile image is uploaded
To Reproduce Steps to reproduce the behavior:
Expected behavior The user image is added to profile
Additional info Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form.
Solution Adding <form method="post" enctype="multipart/form-data">to the change_profile.html template should fix this.
<form method="post" enctype="multipart/form-data">
In addition, it looks like either the view or form needs to be fixed also so the image field is saved.
Describe the bug When editing a user profile and the users profile image is uploaded
To Reproduce Steps to reproduce the behavior:
Expected behavior The user image is added to profile
Additional info Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form.
Solution Adding
<form method="post" enctype="multipart/form-data">
to the change_profile.html template should fix this.