A first test for the view can check if the response contains "Wrong host!" when HTTP_HOST is not specified: from django.test import TestCase ...
確定! 回上一頁