Fixed a bug for Django 1.3. Give a default to getter in middleware is_non_html function.