From the course: Skill Up with Python: Hands-On Web Development Projects
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Create multiple pages - Python Tutorial
From the course: Skill Up with Python: Hands-On Web Development Projects
Create multiple pages
- Alright, so at this point we've created one template and we've been able to render that and send it back to the client, which, well in this case has just been a browser that's been able to render it or well, display it for the user, we'll say. Now the rendering process, I guess I should discuss with you, when we want to do something like render a template with that first name, basically all that that means is our server is going to go through this HTML content and replace any instances of this sort of double curly braces thing with the corresponding value that we've passed as a keyword argument to our render template function. So that's really all that that means, right? Rendering is really just going through and replacing those blank spaces with the content we want to put inside of them. So the next thing that we're going to take a look at here is we're going to see how to create multiple pages and then of course link them together so that users will be able to browse through our…