from django.test import Client >>> c = Client() >>> response = c.post('/login/', ... For example, this will send a User-Agent HTTP header in each request:.
確定! 回上一頁