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 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 ...

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