March 2020
Intermediate to advanced
608 pages
17h 17m
English
If you look at the user change list administration now, you will see something like this:

The columns start with the user's AVATAR, then FULL NAME, and then a button to get the Gravatar. When a user clicks on the Get Gravatar button, a JavaScript onclick event handler makes a POST request to download_gravatar_view. This view creates a URL for the user's Gravatar, which is dependent on the MD5 hash of the user's email, and then calls a helper function to download an image for the user and link it to the avatar field.