astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

Update User not accepting PUT requests #10

Closed marksmall closed 4 years ago

marksmall commented 4 years ago

Checklist

Describe the bug

When updating a user's profile, we will want to use PUT requests. Currently it seems this is not being accepted. As an example of how this would work, I've created a client-side form that allows the user to add a first_name and last_name, but requests are failing. Changing the method to POST acts like we are trying to create a new user and complains that the user already exists.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

allynt commented 4 years ago

Done as part of #23.