User sign up login/logout implementation

This application can recommend movies to different users that are registered on the website. To manage the registration process, we use the standard User Django module as we have seen in the Models sections. Each page of the website refers to the base.html page, which implements a top bar that allows the user to register or sign in (right side):

User sign up login/logout implementation

Clicking on one of the two buttons sign in or sign up will activate the code:

 <form class="navbar-search pull-right" action="{% url 'auth' %}" method="GET"> {% csrf_token %} <div style="overflow: hidden; padding-right: .5em;"> <input type="submit" name="auth_method" ...

Get Machine Learning for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.