Chapter 5. Sharing Content in Your Website

In the previous chapter, you built user registration and authentication into your website. You learned how to create a custom profile model for your users and you added social authentication to your site with major social networks.

In this chapter, you will learn how to create a JavaScript bookmarklet to share content from other sites into your website, and you will implement AJAX features into your project using jQuery and Django.

This chapter will cover the following points:

  • Creating many-to-many relationships
  • Customizing behavior for forms
  • Using jQuery with Django
  • Building a jQuery bookmarklet
  • Generating image thumbnails using sorl-thumbnail
  • Implementing AJAX views and integrating them with jQuery
  • Creating ...

Get Django By Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.