Skip to Content
Hands-On RESTful Python Web Services - Second Edition
book

Hands-On RESTful Python Web Services - Second Edition

by Gastón C. Hillar
December 2018
Intermediate to advanced
500 pages
12h 33m
English
Packt Publishing
Content preview from Hands-On RESTful Python Web Services - Second Edition

Test your knowledge

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

  1. Under the hood, the @api_view decorator is:
    1. A wrapper that converts a function-based view into a subclass of the rest_framework.views.APIView class
    2. A wrapper that converts a function-based view into a serializer
    3. A wrapper that converts a function-based view into a subclass of the rest_framework.views.api_view class
  1. The Serializer and ModelSerializer classes in Django REST Framework are similar to which of the following two classes in Django Web framework?
    1.  Form and ModelForm
    2. View and ModelView
    3. Controller and ModelController
  1. Which of the following classes is a read-write field that represents the target of the relationship by a unique slug ...
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 RESTful Python Web Services

Building RESTful Python Web Services

Gastón C. Hillar
Python Command Line Tools

Python Command Line Tools

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 9781789532227Supplemental Content