Beginning Django: Web Application Development and Deployment with Python

Daniel Rubio

  • 出版商: Apress
  • 出版日期: 2017-10-28
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 593
  • 裝訂: Paperback
  • ISBN: 1484227867
  • ISBN-13: 9781484227862
  • 相關分類: DjangoPython程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Discover the Django web application framework and get started building Python-based web applications. This book takes you from the basics of Django all the way through to cutting-edge topics such as creating RESTful applications. Beginning Django also covers ancillary, but essential, development topics, including configuration settings, static resource management, logging, debugging, and email. Along with material on data access with SQL queries, you’ll have all you need to get up and running with Django 1.11 LTS, which is compatible with Python 2 and Python 3.

Once you’ve built your web application, you’ll need to be the admin, so the next part of the book covers how to enforce permission management with users and groups. This technique allows you to restrict access to URLs and content, giving you total control of your data. In addition, you’ll work with and customize the Django admin site, which provides access to a Django project’s data.

After reading and using this book, you’ll be able to build a Django application top to bottom and be ready to move on to more advanced or complex Django application development.

What You'll Learn
  • Get started with the Django framework
  • Use Django views, class-based views, URLs, middleware, forms, templates, and Jinja templates
  • Take advantage of Django models, including model relationships, migrations, queries, and forms
  • Leverage the Django admin site to get access to the database used by a Django project
  • Deploy Django REST services to serve as the data backbone for mobile, IoT, and SaaS systems
Who This Book Is For 

Python developers new to the Django web application development framework and web developers new to Python and Django.

商品描述(中文翻譯)

探索 Django 網頁應用程式框架,並開始建立基於 Python 的網頁應用程式。本書從 Django 的基礎知識一直講解到創建 RESTful 應用程式等尖端主題。《Beginning Django》還涵蓋了其他重要的開發主題,包括配置設定、靜態資源管理、日誌記錄、除錯和電子郵件。除了關於使用 SQL 查詢進行資料存取的內容外,您將擁有一切所需,以便使用與 Python 2 和 Python 3 兼容的 Django 1.11 LTS 快速上手。

在建立網頁應用程式之後,您需要成為管理員,因此本書的下一部分介紹了如何使用使用者和群組來執行權限管理。這種技術允許您限制對 URL 和內容的訪問,從而完全控制您的資料。此外,您還將使用和自定義 Django 管理網站,該網站提供對 Django 專案資料庫的訪問。

閱讀並使用本書後,您將能夠從頭到尾建立一個 Django 應用程式,並準備好進一步進行更高級或複雜的 Django 應用程式開發。

您將學到什麼:
- 開始使用 Django 框架
- 使用 Django 視圖、基於類的視圖、URL、中介軟體、表單、模板和 Jinja 模板
- 利用 Django 模型,包括模型關係、遷移、查詢和表單
- 利用 Django 管理網站,獲取對 Django 專案使用的資料庫的訪問權限
- 部署 Django REST 服務,作為移動、物聯網和 SaaS 系統的資料支撐

本書適合對 Django 網頁應用程式開發框架和對 Python 和 Django 都不熟悉的 Python 開發人員和網頁開發人員。