O'Reilly logo

Django 1.0 Web Site Development by Ayman Hourieh

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

Summary

With this, we conclude the chapter. We implemented many important features for our application and learned several new Django features. We started by creating a data model for storing tags, and then created a form for bookmark submission. After that, we built pages that allow users to browse and discover new bookmarks.

Here is a quick summary of the Django features mentioned in this chapter:

  • In the data model API, many-to-many relationships are represented with models.ManyToManyField. Django automatically generates attributes to access the items associated with a particular object through this relationship.
  • To customize the string representation of a data model, provide a method called __unicode__ in the model's class. This method takes no ...

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