Book Image

Building RESTful Python Web Services with Django [Video]

By : Gaston C. Hillar
Book Image

Building RESTful Python Web Services with Django [Video]

By: Gaston C. Hillar

Overview of this book

<p>Python is the language of choice for millions of developers worldwide, due to its gentle learning curve and its vast applications in day-to-day programming. It builds great and reliable web services in the RESTful architecture. This video will show you the best tools you can use to build your own Python web services. </p><p> </p><p>You’ll start by learning how to develop RESTful APIs using the Django framework combined with related libraries and tools. We’ll delve into the Django framework to build various web services. We’ll show you everything you need to successfully develop RESTful APIs with the Django framework such as request handling, URL mapping, serialization, validation, authentication, authorization, and databases. </p><p> </p><p>By the end of the video, you’ll have a deep understanding of the stacks needed to build RESTful web services. </p><p> </p><p>The code bundle for this course is available at https://github.com/PacktPublishing/Building-RESTful-Python-Web-Services-with-Django/</p>
Table of Contents (8 chapters)
Chapter 7
Additional features of Django and Django REST Framework
Content Locked
Section 3
Understanding Filtering, Searching, and Ordering Classes
We took advantage of the pagination features available in Django REST Framework to specify how we wanted large result sets to be split into individual pages of data. However, we have always been working with the entire queryset as the result set. Django REST Framework makes it easy to customize the filtering, searching, and sorting capabilities to the views we have already coded. - Install the django-filter package - Specify a global setting with a tuple of string - Add 'crispy_forms' to the installed apps in the settings.py file