at the beginning of the file we then import the url functionwhich is needed when mapping urls to views we also import the views module wthe dot tells python to import views from the same directory as the current urls py module the variable urlpatterns in this module is list of individual pages that can be requested from the learning_logs app the actual url pattern is call to the url(functionwhich takes three arguments the first is regular expression django will look for regular expression in urlpatterns that matches the requested url string thereforea regular expression will define the pattern that django can look for let' look at the regular expression '^$the tells python to interpret the following string as raw stringand the quotes tell python where the regular expression begins and ends the caret (^tells python to find the beginning of the stringand the dollar sign tells python to look for the end of the string in its entiretythis expression tells python to look for url with nothing between the beginning and end of the url python ignores the base url for the project (empty regular expression matches the base url any other url will not match this expressionand django will return an error page if the url requested doesn' match any existing url patterns the second argument in url(at specifies which view function to call when requested url matches the regular expressiondjango will call views index (we'll write this view function in the next sectionthe third argument provides the name index for this url pattern so we can refer to it in other sections of the code whenever we want to provide link to the home pagewe'll use this name instead of writing out url note regular expressionsoften called regexesare used in almost every programming language they're incredibly usefulbut they take some practice to get used to if you didn' follow all of thisdon' worryyou'll see plenty of examples as you work through this project writing view view function takes in information from requestprepares the data needed to generate pageand then sends the data back to the browseroften by using template that defines what the page will look like the file views py in learning_logs was generated automatically when we ran the command python manage py startapp here' what' in views py right nowviews py from django shortcuts import render create your views here