Fixed filter for logger deprecation warning in Django 1.5