def test_detail_view_with_a_past_poll(self):
        past_poll = create_poll(question='Past Poll.', days=-5)
        response = self.client.get(reverse('polls:detail', args=(past_poll.id,)))
        self.assertContains(response, past_poll.question, status_code=200)
Perform some actions after a model was created or updated and
dataset/ETHPy150Open disqus/sharding-example/polls/tests.py/PollIndexDetailTests.test_detail_view_with_a_past_poll--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView.after_model_change