rest_auth.contrib

Batteries included

There are utilized or patched functions for building ours.

rest_auth.contrib.rest_framework

rest_auth.contrib.rest_framework.decorators.sensitive_post_parameters(*parameters)[source]

hide sensitive POST paramters from Django’s error reporting.

This decorator should be used for rest_framework’s views if your views use sensitive data like password, because rest_framework use rest_framework.request.Request, NOT django.http.HttpRequest (This is not subclassed)

(so django’s sensitive_post_parameters cannot be used for rest_framework)