Skip to content

fix: wrong profile update url#105

Open
liuly0322 wants to merge 2 commits intomasterfrom
edit_profile
Open

fix: wrong profile update url#105
liuly0322 wants to merge 2 commits intomasterfrom
edit_profile

Conversation

@liuly0322
Copy link
Copy Markdown
Collaborator

目前后端还有问题仍待解决

  • 密码的更新需要采用 make_password 方法,因为密码并不直接存储明文
  • 当前 User 没有介绍,学校,专业,班级,真实姓名,qq 这些字段
  • 学号 student_id 应该设置不允许更新

daiwenyuan and others added 2 commits January 3, 2023 19:10
注意:当使用PRODUCTION模式运行时,需要配置 ALLOWED_HOST,添加正式的域名
@libreliu
Copy link
Copy Markdown
Collaborator

libreliu commented Feb 7, 2023

目前的思路:后端把 UserViewSet 拆开,GET 还用原来的 Mixin,PUT 改成一个专门的处理用户更新的 View 来做

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants