def test_fallback_flatpage(self):
        response = self.client.get('/flatpage/')
        self.assertContains(response, "<p>Isn't it flat!</p>")
A flatpage can be served by the fallback middleware
dataset/ETHPy150Open django/django/tests/flatpages_tests/test_csrf.py/FlatpageCSRFTests.test_fallback_flatpage