Django Rest Framework redirection after POST success
<p>Is there a way to redirect a form POST to a specific page if the endpoint return a success ?</p>

<p>In my specific case, I'm using <a href="https://github.com/Tivix/django-rest-auth" rel="nofollow">django-rest-auth</a> to manage the users authentication, and the login endpoint (/rest-auth/login/) return a JSON with the response. I want to redirect the user to his dashboard if the authentication is successfull.</p>

<p>EDIT : As far as I understand, the REST api is only for backend. If I want to set a redirection after any form post, I have to find a way only with my frontend application. Am I right ?</p>

<p>In this case, is Django a good choice to develop the frontend application ?
I've seen many subjects where AngularJS is mentionned to build the frontend. Is it a good idea to build a client app with JS (I mean, for a one page web api, there is no back and next navigation possibility, I think this is not a friendly way to navigate) ?</p>

<p>If I build my frontend with Django, do I have to write my own view, call the backend rest endpoint in this view, process the result, and send an HTTPRequest (for exemple) from this view ? I don't really understand where is the gain with this method.</p>