Fixed non compatible self.assertInHtml with django < 1.5