Prevent deprecation warnings on Django 1.5 when marking the template filter as safe.