Make sure you have django.contrib.auth in your INSTALLED_APPS and the authentication middleware properly configured in the MIDDLEWARE_CLASSES settings.
Configure the URL route for the login.
Create a login template.
Customize the login view as much as necessary.
Redirect the login to the desired page.
Customize the logical behind the login as much as needed.
Make sure you have django.contrib.auth in your INSTALLED_APPS and the authentication middleware properly configured in the MIDDLEWARE_CLASSES settings.
Configure the URL route for the login.
Create a login template.
Customize the login view as much as necessary.
Redirect the login to the desired page.
Customize the logical behind the login as much as needed.