The Django Book

This is the Table of Contents for the free online version of  Mastering Django: Core (The Django Book).

As Django 1.11 LTS is out, this content is in active development and is being incrementally updated from 1.8 to 1.11.

Note that, if you are just starting out, the fundamentals have not really changed between 1.8 and 1.11, so you should be able to get through the first few chapters with minimal problems.

Just install Django 1.11 and most of the early code samples will run.

Any chapters that have been updated will be marked [UPDATED] in the Table of Contents. The online book should be considered a working draft, which means there are likely errors and bits of code that don’t run. Send me an email if you find something that is broken.

Add your Suggestions to Improving the Second Edition

I am seeking your feedback on how I can make Core 2E the best it can be. Instructions on how you can provide feedback is in this post.

 

Table of Contents

Chapter 1: Getting Started

Chapter 2: Django Views and URLconfs

Chapter 3: Django Templates

Chapter 4: Django Models

Chapter 5: The Django Admin Site

Chapter 6: Django Forms

Django Forms [UPDATED]
Form Validation [UPDATED]
Tying Forms to Views [UPDATED]

Chapter 7: Advanced Views and URLconfs

Chapter 9: Advanced Models

Chapter 10: Generic Views

Chapter 12: Testing in Django

Chapter 16: Django's Cache Framework

Chapter 17: Django Middleware

Chapter 20: More on Installing Django

Chapter 21: Advanced Databases

Appendix A: Model Definition Reference

Appendix B: Database API Reference

Appendix C: Generic View Reference

Appendix D: Django Settings

Appendix E: Built-in Tags and Filters

Appendix F: Request and Response Objects

Appendix G: Developing Django With Visual Studio