The Django Book - Python Django Tutorials

The Django Book

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

The code in this book is a mix of Django 1.8 and Django 1.11 code. Basically it’s a bit of a mess because I never got a chance to finish it before Django 1.11 came and went.

We now have Django 2, so this content will not be updated. For updates on the new book see here.

It’s OK to still use this content, as the concepts are sound and any chapters marked [UPDATED] in the Table of Contents are for Django 1.11 LTS, which is  a current version of Django with support until 2020. 

Old pages that have been removed, are marked [REMOVED – SEE NEW BOOK].

All chapters not marked as updated are for Django 1.8, which is no longer supported. Use at your own risk.

Table of Contents

Introduction

Introduction [REMOVED – SEE NEW BOOK]
Introducing Django [REMOVED – SEE NEW BOOK]

Chapter 1: Getting Started

Installing Django [REMOVED – SEE NEW BOOK]
The Model-View-Controller Design Pattern [REMOVED – SEE NEW BOOK]

Chapter 2: Django Views and URLconfs

Views and URLconfs [REMOVED – SEE NEW BOOK]
Django Views: Dynamic Content [REMOVED – SEE NEW BOOK]

Chapter 3: Django Templates

Django Templates [REMOVED – SEE NEW BOOK]
Basic Template Tags and Filters [REMOVED – SEE NEW BOOK]
Templates in Views [REMOVED – SEE NEW BOOK]

Chapter 4: Django Models

Django Models [REMOVED – SEE NEW BOOK] 
Django Models: Basic Data Access [REMOVED – SEE NEW BOOK]

Chapter 5: The Django Admin Site

The Django Admin Site  [REMOVED – SEE NEW BOOK]
Adding Models to Django Admin [REMOVED – SEE NEW BOOK]
Customizing Change Lists and Forms [REMOVED – SEE NEW BOOK]
Users, Groups and Permissions  [REMOVED – SEE NEW BOOK]

Chapter 6: Django Forms

Django Forms  [REMOVED – SEE NEW BOOK]
Form Validation  [REMOVED – SEE NEW BOOK]
Tying Forms to Views  [REMOVED – SEE NEW BOOK]

Chapter 7: Advanced Views and URLconfs

Advanced Views and URLconfs [REMOVED – SEE NEW BOOK]

 

Chapter 9: Advanced Models

Chapter 10: Generic Views

Chapter 12: Testing in Django

Chapter 14: Generating Non-HTML Content

Generating Non-HTML Content
Generating PDF’s
The Syndication Feed Framework [REMOVED – SEE OFFICIAL DJANGO DOCS]
The Sitemap Framework [REMOVED – SEE OFFICIAL DJANGO DOCS]

Chapter 16: Django's Cache Framework

Chapter 17: Django Middleware

Django Middleware [REMOVED – COVERED ELSEWHERE IN NEW BOOK]
Available Middleware [REMOVED – COVERED ELSEWHERE IN NEW BOOK]

Chapter 19: Security in Django

Security in Django [REMOVED – SEE OFFICIAL DJANGO DOCS]
CSRF Methods and Utilities [REMOVED – SEE OFFICIAL DJANGO DOCS]
SQL Injection and Clickjack Protection [REMOVED – SEE OFFICIAL DJANGO DOCS]
SSL/HTTPS in Django [REMOVED – SEE OFFICIAL DJANGO DOCS]
Additional Security Tips [REMOVED – SEE OFFICIAL DJANGO DOCS]
Using The Security Low-Level API [REMOVED – SEE OFFICIAL DJANGO DOCS]

 

Chapter 20: More on Installing Django

More on installing Django [REMOVED – SEE NEW BOOK]

Chapter 21: Advanced Databases

Appendix A: Model Definition Reference

Appendix B: Database API Reference

Appendix C: Generic View Reference

Django Settings [REMOVED – SEE OFFICIAL DJANGO DOCS]

Appendix E: Built-in Tags and Filters

Appendix F: Request and Response Objects

Appendix G: Developing Django With Visual Studio