Review Board-specific specializations of avatar services.
- class FileUploadService(settings_manager_class)[source]¶
A Review Board-specialized file upload avatar services.
This service is almost identical to the
one in Djblets, except we ensure that all URLs returned are absolute URLs.
- get_avatar_urls_uncached(user, size)[source]¶
Return the avatar URLs for the requested user.
django.contrib.auth.models.User) – The user whose avatar URLs are to be fetched.
int) – The size (in pixels) the avatar is to be rendered at.
dict: A dictionary containing the URLs of the user’s avatars at normal- and high-DPI.