Reader small image

You're reading from  Building RESTful Python Web Services

Product typeBook
Published inOct 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781786462251
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Gaston C. Hillar
Gaston C. Hillar
author image
Gaston C. Hillar

Gaston C. Hillar is Italian and has been working with computers since he was 8 years old. Gaston has a Bachelor's degree in computer science (graduated with honors) and an MBA. Currently, Gaston is an independent IT consultant and a freelance author who is always looking for new adventures anywhere in the world. He was a senior contributing editor at Dr. Dobb's, and has written more than a hundred articles on software development topics. He has received the prestigious Intel Black Belt Software Developer award eight times. He has written many articles about Java for Oracle Java Magazine. Gaston was also a former Microsoft MVP in technical computing. He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.
Read more about Gaston C. Hillar

Right arrow

Test your knowledge


  1. If we want to create a simple Player model that we will use to represent and persist players in Django REST framework, we can create:

    1.  A Player class as a subclass of the djangorestframework.models.Model class.

    2.  A Player class as a subclass of the django.db.models.Model class.

    3.  A Player function in the restframeworkmodels.py file.

  2. In the Django REST Framework, serializers are:

    1. Mediators between the model instances and Python primitives.

    2. Mediators between the view functions and Python primitives.

    3. Mediators between the URLs and view functions.

  3. In the Django REST Framework, parsers and renderers:

    1. Handle as mediators between model instances and Python primitives.

    2. Reset the board.

    3. Handle as mediators between Python primitives and HTTP requests and responses.

  4. The urlpatterns list declared in the urls.py file makes it possible to:

    1.  Route URLs to views.

    2.  Route URLs to models.

    3.  Route URLs to Python primitives.

  5. HTTPie is a:

    1. Command-line HTTP server written in Python that makes it easy to create a RESTful Web Server.

    2. Command-line utility that allows us to run queries against an SQLite database.

    3. Command-line HTTP client written in Python that makes it easy to compose and send HTTP requests.

Previous PageNext Page
You have been reading a chapter from
Building RESTful Python Web Services
Published in: Oct 2016Publisher: PacktISBN-13: 9781786462251
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Gaston C. Hillar

Gaston C. Hillar is Italian and has been working with computers since he was 8 years old. Gaston has a Bachelor's degree in computer science (graduated with honors) and an MBA. Currently, Gaston is an independent IT consultant and a freelance author who is always looking for new adventures anywhere in the world. He was a senior contributing editor at Dr. Dobb's, and has written more than a hundred articles on software development topics. He has received the prestigious Intel Black Belt Software Developer award eight times. He has written many articles about Java for Oracle Java Magazine. Gaston was also a former Microsoft MVP in technical computing. He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.
Read more about Gaston C. Hillar