def METHOD_NAME(self):
    url = reverse("admin:autoemails_rqjob_edit_template", args=[self.rqjob.pk])
    rv = self.client.post(url)
    self.assertEqual(rv.status_code, 302)
    # cannot check by assertRedirect because there's additional `?next`
    # parameter
    self.assertTrue(rv.url.startswith(reverse("login")))