accounts/login/ [name='login']
accounts/logout/ [name='logout']
accounts/password_change/ [name='password_change']
accounts/password_change/done/ [name='password_change_done']
accounts/password_reset/ [name='password_reset']
accounts/password_reset/done/ [name='password_reset_done']
accounts/reset/// [name='password_reset_confirm']
accounts/reset/done/ [name='password_reset_complete']
Només ens caldrà afegir plantilles per a ''login.html'' i ''profile.html'', i tindrem a punt el sistema complert.
--> Plantilla login.html (la que surt a la doc oficial)#
Aquesta és la [[https://docs.djangoproject.com/en/latest/topics/auth/default/#module-django.contrib.auth.views|plantilla de la doc oficial]] però la podeu personalitzar:
Your username and password didn't match. Please try again.
{% endif %} {% if next %} {% if user.is_authenticated %}Your account doesn't have access to this page. To proceed, please login with an account that has access.
{% else %}Please login to see this page.
{% endif %} {% endif %} {# Assumes you set up the password_reset view in your URLconf #} {% endblock %}