O'Reilly logo

Learning Django Web Development by Ratan Kumar, Sanjeev Jaiswal

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

Setting up a basic template application

Our project is going to be a microblogging site, where there will be a public page for every user, which will have a timeline of the tweets they have posted.

The first thing that comes to mind after seeing the welcome page of the development server is to ask how we can change it. To create our own welcome page, we need to define an entry point to our application in the form of a URL and tell Django to call a particular Python function when a visitor accesses this URL. We will write this Python function ourselves and make it display our own welcome message.

This section basically is a redo of the configuration we did in the previous chapter, but the intent is to place all the instructions together here so that ...

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