© 2017

Beginning Django

Web Application Development and Deployment with Python


Table of contents

  1. Front Matter
    Pages i-xxvii
  2. Daniel Rubio
    Pages 1-29
  3. Daniel Rubio
    Pages 31-72
  4. Daniel Rubio
    Pages 73-115
  5. Daniel Rubio
    Pages 117-161
  6. Daniel Rubio
    Pages 163-216
  7. Daniel Rubio
    Pages 217-274
  8. Daniel Rubio
    Pages 275-340
  9. Daniel Rubio
    Pages 341-401
  10. Daniel Rubio
    Pages 403-439
  11. Daniel Rubio
    Pages 441-494
  12. Daniel Rubio
    Pages 495-547
  13. Daniel Rubio
    Pages 549-566
  14. Back Matter
    Pages 567-593

About this book


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.

You will:

  • 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


Django Python framework application development software code

Authors and affiliations

  1. 1.F. BahiaEnsenadaMexico

About the authors

Daniel Rubio is a consultant with over 15 years of experience in enterprise and web-based software. Daniel works with companies to develop software solutions using Python, JavaScript and Cloud computing, as well as other innovative technologies like AI and Blockchain to deliver key business results. He has co-authored the best selling Spring Recipes as well as other books for Apress Media, LLC.  Daniel can be reached at

Bibliographic information

Industry Sectors
Chemical Manufacturing
IT & Software
Finance, Business & Banking
Oil, Gas & Geosciences