Chapter 1: Django's Position on the Web
Chapter 2: Creating a Django Project
Starting your project with Django
Configuring the application
Chapter 3: Hello World! with Django
Chapter 4: Working with Templates
Displaying Hello world! in a template
Injecting the data from the view to the template
Creating dynamic templates
Integrating variables in templates
Using static files in templates
Chapter 5: Working with Models
The relationship between the models
Chapter 6: Getting a Model's Data with Querysets
The persisting model's data on the database
Getting data from the database
Updating records in the database
Advanced usage of the queryset
Chapter 7: Working with Django Forms
Adding a developer without using Django forms
Adding a developer with Django forms
The form based on a model
Advanced usage of Django forms
Chapter 8: Raising Your Productivity with CBV
Going further by extending the CBV
Chapter 9: Using Sessions
Creating and getting session variables
Chapter 10: The Authentication Module
How to use the authentication module
Restricting access to the connected members
Chapter 11: Using AJAX with Django
Working with AJAX in the task manager
Chapter 12: Production with Django
Completing the development
Selecting the physical server
Selecting the server software
Selecting the server database
Deploying the Django website
Installing Django, South, Gunicorn, and psycopg2
Chapter 13: Getting Started with Django 1.8
Working with a virtual environment
Creating a project file structure
Handling project dependencies with pip
Making your code compatible with both Python 2.7 and Python 3
Including external dependencies in your project
Configuring settings for development, testing, staging, and production environments
Defining relative paths in the settings
Creating and including local settings
Setting up STATIC_URL dynamically for Subversion users
Setting up STATIC_URL dynamically for Git users
Setting UTF-8 as the default encoding for MySQL configuration
Setting the Subversion ignore property
Creating the Git ignore file
Deleting Python-compiled files
Respecting the import order in Python files
Creating app configuration
Defining overwritable app settings
Chapter 14: Database Structure
Creating a model mixin with URL-related methods
Creating a model mixin to handle creation and modification dates
Creating a model mixin to take care of meta tags
Creating a model mixin to handle generic relations
Handling multilingual fields
Switching from South migrations to Django migrations
Changing a foreign key to the many-to-many field
Chapter 15: Forms and Views
Passing HttpRequest to the form
Utilizing the save method of the form
Creating a form layout with django-crispy-forms
Downloading authorized files
Composing class-based views
Implementing a multilingual search with Haystack
Chapter 16: Templates and JavaScript
Arranging the base.html template
Including JavaScript settings
Using HTML5 data attributes
Opening object details in a modal dialog
Implementing a continuous scroll
Implementing the Like widget
Chapter 17: Custom Template Filters and Tags
Following conventions for your own template filters and tags
Creating a template filter to show how many days have passed since a post was published
Creating a template filter to extract the first media object
Creating a template filter to humanize URLs
Creating a template tag to include a template if it exists
Creating a template tag to load a QuerySet in a template
Creating a template tag to parse content as a template
Creating a template tag to modify request query parameters
Chapter 18: Model Administration
Customizing columns on the change list page
Developing change list filters
Customizing default admin settings
Inserting a map into a change form
Chapter 19: Django CMS
Creating templates for Django CMS
Structuring the page menu
Converting an app to a CMS app
Attaching your own navigation
Writing your own CMS plugin
Adding new fields to the CMS page
Chapter 20: Hierarchical Structures
Creating hierarchical categories
Creating a category administration interface with django-mptt-admin
Creating a category administration interface with django-mptt-tree-editor
Rendering categories in a template
Using a single selection field to choose a category in forms
Using a checkbox list to choose multiple categories in forms
Chapter 21: Data Import and Export
Importing data from a local CSV file
Importing data from a local Excel file
Importing data from an external JSON file
Importing data from an external XML file
Creating filterable RSS feeds
Using Tastypie to create API
Using Django REST framework to create API
Chapter 22: Bells and Whistles
Using database query expressions
Monkey-patching the slugify() function for better internationalization support
Toggling the Debug Toolbar
Using ThreadLocalMiddleware
Caching the method return value
Using Memcached to cache Django views
Using signals to notify administrators about new entries
Checking for missing settings
Chapter 23: Testing and Deployment
Testing pages with Selenium
Testing API created using Django REST framework
Releasing a reusable Django app
Getting detailed error reporting via e-mail
Deploying on Apache with mod_wsgi
Setting up cron jobs for regular tasks
Creating and using the Fabric deployment script
Chapter 24: Django and Patterns
Chapter 25: Application Design
How to gather requirements
Designing the application
Before starting the project
SuperBook โ your mission, should you choose to accept it
Chapter 27: Views and URLs
Class-based generic views
Chapter 28: Templates
Understanding Django's template language features
Chapter 29: Admin Interface
Using the admin interface
Enhancing models for the admin
Admin interface customizations
Chapter 30: Forms
Form processing with Class-based views
Chapter 31: Dealing with Legacy Code
Finding the Django version
Where are the files? This is not PHP
Understanding the code base
Incremental change or a full rewrite?
Write tests before making any changes
Chapter 32: Testing and Debugging
Pattern โ test fixtures and factories
Learning more about testing
Debugging Django templates
Chapter 33: Security
Cross-site scripting (XSS)
A handy security checklist
Chapter 34: Production-ready