Force_authenticate superuser django rest unit testing

后端 未结 0 1221
鱼传尺愫
鱼传尺愫 2021-01-17 04:37

I have structured my api so that only the superuser can delete accounts. I am trying to force authenticate a superuser in my unit test but I am running into issues.

U

相关标签:
回答
  • 消灭零回复
提交回复
热议问题