def user_path(instance, filename):
    """Dynamically create path to the user avatar i.e.
    `media/users/123/avatar.PNG`
    """
    return f'media/users/{instance.id}/avatar.{filename.split(".")[-1]}'