O'Reilly logo

Django: Visual QuickPro Guide by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Creating Multi-page Web Applications

In the previous chapters, we developed Web applications that had only one page: the main page. In this chapter, we’ll start creating multi-page Web applications. In particular, we’ll add pages to our application for each user in the database. Each page won’t actually exist, though, and just sit around waiting for the user to access it. Instead, the user pages will be created on the fly.

You create pages with code in views.py in a Django application, and for that reason we’ll be adding code beyond the main page to our application in this chapter. We’ll get Django to help by informing us what page the user is actually accessing, so we’ll be able to retrieve the user’s data and display it later in this chapter. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required