using django-safelogging from https://github.com/litchfield/django-safelogging to rate limit error emails and suppress disallowed hosts errors