- Django RESTful Web Services
- Gaston C. Hillar
- 139字
- 2021-06-30 19:30:59
Summary
In this chapter, we designed a RESTful Web Service to interact with a simple SQLite database and perform CRUD operations with toys. We defined the requirements for our web service and we understood the tasks performed by each HTTP method and the different scopes.
We created a model to represent and persist toys, and we executed migrations in Django to create the required tables in an SQLite database. We analyzed the tables that Django generated. We learned to manage serialization of toy instances into JSON representations with Django REST framework and the reverse process.
Now that we understand models, migrations, serialization, and deserialization with Django and Django REST framework, we will create Django views combined with serializer classes and start making HTTP requests to our web service. We will cover these topics in Chapter 3, Creating API Views.
- 新編Visual Basic程序設計上機實驗教程
- iOS面試一戰到底
- Java入門經典(第6版)
- 基于免疫進化的算法及應用研究
- Nginx實戰:基于Lua語言的配置、開發與架構詳解
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Angular應用程序開發指南
- Webpack實戰:入門、進階與調優(第2版)
- 零基礎學Scratch 3.0編程
- QlikView Unlocked
- Python Automation Cookbook
- Scratch編程從入門到精通
- Java EE程序設計與開發實踐教程
- Java EE框架開發技術與案例教程
- Oracle API Management 12c Implementation