Skip to Content
Django RESTful Web Services
book

Django RESTful Web Services

by Gastón C. Hillar
January 2018
Intermediate to advanced
326 pages
7h 38m
English
Packt Publishing
Content preview from Django RESTful Web Services

Test your knowledge

Let's see whether you can answer the following questions correctly:

  1. The django_filters.rest_framework.DjangoFilterBackend class provides:
    1. Control on how the results are ordered with a single query parameter
    2. Single query parameter-based searching capabilities, based on the Django admin's search function
    3. Field filtering capabilities
  2. The rest_framework.filters.SearchFilter class provides:
    1. Control on how the results are ordered with a single query parameter
    2. Single query parameter-based searching capabilities, based on the Django admin's search function
    3. Field filtering capabilities
  3. If we want to create a unique constraint, what must be added to a models.CharField initializer as one of the named arguments?
    1. unique=True ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Versatile Mobile Apps with Python and REST: RESTful Web Services with Django and React

Building Versatile Mobile Apps with Python and REST: RESTful Web Services with Django and React

Art Yudin

Publisher Resources

ISBN: 9781788833929Supplemental Content