March 2020
Intermediate to advanced
608 pages
17h 17m
English
Now that we've started using a custom User model for authentication, we can enhance it even more by adding more useful fields. In this recipe, we will add an avatar field and the ability to download a user's avatar from the Gravatar service (https://en.gravatar.com/). The users of this service can upload avatars and assign them to their emails. By doing this, different comment systems and social platforms will be able to show those avatars from Gravatar based on the hashes of the user's emails.