[1.8.x] Fixed typos in docs/ref/templates/api.txt
[1.8.x] Fixed typos in docs/ref/templates/api.txt

Backport of c612786cf15e2e1d00162ed4e335e83b75e6c978 from master

pquentin/django,h4r5h1t/django-hauthy,pquentin/django,h4r5h1t/django-hauthy,h4r5h1t/django-hauthy,pquentin/django,h4r5h1t/django-hauthy