After you have configured the URLConf file, you need to add the views to the application. The application's views are stored as functions in the views.py file in the application directory. When the Django server receives an URL request, it parses the request based on the patterns that are contained in the URLConf file and determines which function to execute to generate the web view.
Try It Yourself: Create the Index View for the People ApplicationThis section guides you through the steps of creating an index view stub for the People application in the iFriends project. After the view is created, you start the development server and view the web page that is generated.
|