O'Reilly logo

Django By Example by Antonio Melé

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

Chapter 2. Enhancing Your Blog with Advanced Features

In the previous chapter, you created a basic blog application. Now you will turn your application into a fully functional blog with advanced features such as sharing posts by e-mail, adding comments, tagging posts, and retrieving posts by similarity. In this chapter, you will learn the following topics:

  • Sending e-mails with Django
  • Creating forms and handling them in views
  • Creating forms from models
  • Integrating third-party applications
  • Building complex QuerySets

Sharing posts by e-mail

First, we will allow users to share posts by sending them by e-mail. Take a short time to think how you would use views, URL's, and templates to create this functionality using what you have learned in the previous 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