In some projects, we can have username = email. In this case, we can't call the url with an email as kwarg, that's why it's better to use id/pk instead.
In some projects, we can have username = email. In this case, we can't call the url with an email as kwarg, that's why it's better to use id/pk instead.

This change allow us to call the recipient username or id, to autocomplete the recipient field of the form
soad241/django-messages