Jump to ratings and reviews
Rate this book

Django RESTful Web Services: The easiest way to build Python RESTful APIs and web services with Django

Rate this book
Design, build and test RESTful web services with the Django framework and Python

Key FeaturesCreate efficient real-world RESTful web services with the latest Django frameworkAuthenticate, secure, and integrate third-party packages efficiently in your Web ServicesLeverage the power of Python for faster Web Service developmentBook DescriptionDjango is a Python web framework that makes the web development process very easy. It reduces the amount of trivial code, which simplifies the creation of web applications and results in faster development. It is very powerful and a great choice for creating RESTful web services.

If you are a Python developer and want to efficiently create RESTful web services with Django for your apps, then this is the right book for you.

The book starts off by showing you how to install and configure the environment, required software, and tools to create RESTful web services with Django and the Django REST framework. We then move on to working with advanced serialization and migrations to interact with SQLite and non-SQL data sources. We will use the features included in the Django REST framework to improve our simple web service.

Further, we will create API views to process diverse HTTP requests on objects, go through relationships and hyperlinked API management, and then discover the necessary steps to include security and permissions related to data models and APIs. We will also apply throttling rules and run tests to check that versioning works as expected. Next we will run automated tests to improve code coverage.

By the end of the book, you will be able to build RESTful web services with Django.

What you will learnThe best way to build a RESTful Web Service or API with Django and the Django REST FrameworkDevelop complex RESTful APIs from scratch with Django and the Django REST FrameworkWork with either SQL or NoSQL data sourcesDesign RESTful Web Services based on application requirements Use third-party packages and extensions to perform common tasksCreate automated tests for RESTful web servicesDebug, test, and profile RESTful web services with Django and the Django REST FrameworkWho this book is forThis book is for Python developers who want to create RESTful web services with Django; you need to have a basic working knowledge of Django but no previous experience with RESTful web services is required.

Table of ContentsInstalling the Required Software and ToolsWorking with Models, Migrations, Serialization, and DeserializationCreating API ViewsUsing Generalized Behavior from the APIView ClassUnderstanding and Customizing the Browsable API FeatureWorking with Advanced Relationships and SerializationUsing Constraints, Filtering, Searching, Ordering, and PaginationSecuring the API with Authentication and PermissionsApplying Throttling Rules and Versioning ManagementAutomating Tests

328 pages, Kindle Edition

Published January 25, 2018

10 people are currently reading
20 people want to read

About the author

Gaston C. Hillar

44 books16 followers
Gastón C. Hillar is Italian and has been working with computers since he was eight. He began programming with the legendary Texas TI-99/4A and Commodore 64 home computers in the early 80s. He has a Bachelor degree in Computer Science from which he graduated with honors, and an MBA from which he graduated with an outstanding thesis. At present, Gaston is an independent IT consultant and freelance author who is always looking for new adventures around the world. He has been a senior contributing editor at Dr. Dobb’s and has written more than a hundred articles on software development topics. Gaston was also a former Microsoft MVP in technical computing. He has received the prestigious Intel® Black Belt Software Developer award eight times. He is a guest blogger at Intel® Software Network (https://software.intel.com). You can follow him on Twitter at https://twitter.com/gastonhillar.
His Amazon Web page is: https://www.amazon.com/Gast%C3%B3n-Hi...
He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (12%)
4 stars
8 (50%)
3 stars
5 (31%)
2 stars
1 (6%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Robert Richter.
54 reviews2 followers
October 11, 2020
Book can be valuable as a starter for begginers. It doesn't cover advanced topics. You won't be able to write down a real application.
It's a pity that book missess afew core concepts of DRF. For example ModelViewSets, Routers, even overriding get_queryset and much more.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.