Skip to content

Latest commit

 

History

History
160 lines (81 loc) · 1.97 KB

Pro Django.md

File metadata and controls

160 lines (81 loc) · 1.97 KB

Pro Django, 2e

by Marty Alchin, July 2013 (Apress)

A guide through the lesser known parts of Django.


Preface

Introduction

1. Understanding Django

Philosophy

Community

Now What?

2. Django Is Python

How Python Builds Classes

Common Duck Typing Protocols

Augmenting Functions

Descriptors

Introspection

Applied Techniques

Now What?

3. Models

How Django Processes Model Classes

Getting Information About Models

Using Model Fields

Subclassing Fields

Dealing with Files

Signals

Applied Techniques

Now What?

4. URLs and Views

URLs

Function-Based Views

Class-Based Views

Applied Techniques

Now What?

5. Forms

Declaring and Identifying Forms

Binding to User Input

Custom Fields

Defining HTML Behavior

Applied Techniques

Now What?

6. Templates

What Makes a Template?

Context

Retrieving Templates

Adding Features for Templates

Applied Techniques

Now What?

7. Handling HTTP

Requests and Responses

Writing HTTP Middleware

HTTP-Related Signals

Applied Techniques

Now What?

8. Backend Protocols

Database Access

Authentication

Files

Session Management

Caching

Template Loading

Context Processors

Applied Techniques

Now What?

9. Common Tools

Core Exceptions (django.core.exceptions)

Text Modification (django.utils.text)

Data Structures (django.utils.datastructures)

Functional Utilities (django.utils.functional)

Signals

Now What?

10. Coordinating Applications

Contacts

Real Estate Properties

Now What?

11. Enhancing Applications

Adding an API

Serializing Data

Retrieving Data

Now What?