Revision history [back]
Well the matter I want to point is in the user_get_avatar_url
function from models/__init__.py
In this function, we have :
...
logging.critical(message)
raise django_exceptions.ImproperlyConfigured(message)
else:
return self.get_gravatar_url(size)
else:
...
But shouldn't it be
...
logging.critical(message)
raise django_exceptions.ImproperlyConfigured(message)
else:
if askbot_settings.ENABLE_GRAVATAR:
return self.get_gravatar_url(size)
else:
return self.get_default_avatar_url(size)
else:
...
in order to entirely disable requests to gravatar website?