urls that belong to the learning_logs app from urls that belong to the users app the login page we'll first implement login page we'll use the default login view django providesso the url pattern looks little different make new urls py file in the directory learning_log/users/and add the following to iturls py """defines url patterns for users""from django conf urls import url from django contrib auth views import login from import views urlpatterns login page url( '^login/$'login{'template_name''users/login html'}name='login')we first import the default login view the login page' pattern matches the url this urlthe word users tells django to look in users/urls pyand login tells it to send requests to django' default login view (notice the view argument is loginnot views loginbecause we're not writing our own view functionwe pass dictionary telling django where to find the template we're about to write this template will be part of the users appnot the learning_logs app the login template when the user requests the login pagedjango will use its default login viewbut we still need to provide template for the page inside the learning_log/usersdirectorymake directory called templatesinside thatmake another directory called users here' the login html templatewhich you should save in learning_log/users/templates/users/login html {extends "learning_logs/base html%{block content % {if form errors %your username and password didn' match please try again {endif % {csrf_token %{form as_p } log in