Sharing Content in Your Website

In the preceding chapter, you built user registration and authentication into your website. You learned how to create a custom profile model for your users and 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 2 by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.