要使用测试客户机,请实例化 django.test.Client 并检索网页:. >>> from django.test import Client >>> c = Client() >>> response = c.post('/login/', ...
確定! 回上一頁