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

Putting it all together – generating user pages

So far, we have covered a lot of material, such as introduction to the concepts of views and templates. In the final section, we will write another view and make use of all the information that we have learned so far. This view will display a list of all the tweets that belong to a certain user.

Familiarization with the Django models

Models are the standard Python classes with some added features. They are subclasses of django.db.models.Model. In the background, an Object-Relational Mapper (ORM) gets bound with these classes and their objects. This makes them communicate with the underlying database. ORM is one of the important features of Django, without which we will end up writing our own queries ...

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