Django （发音：姜够）是一个广泛使用的Python web框架，号称“自带排炮”，其理念是开发web应用的功能模块应该包含在框架内，而不是调用外部库。
Django已经发展了10多年，确保看到不过时的书籍和教程。最新版本是1.11，这本书current Django books 介绍as of Django 1.9。
- Tango with Django
- The Django Girls Tutorial 不需要你具备任何Python或Django的知识，开发你的第一个web应用（强烈推荐！）
- 2 Scoops of Django
- a Django web app that can make phone calls and send text messages for automated surveys. 展示了一个网站的Django项目并附有源码在 open source on GitHub
- Effective Django
- The Django subreddit
- Django Advice guide.
- Lightweight Django
- The Definitive Guide to Django Deployment
- This step-by-step guide for Django 展示如何用JQuery和AJAX传递数据
- django-awesome 一系列Django库和资源
- Starting a Django Project 如何从头开始一个Django项目
- How to build a project from scratch using Twitter Bootstrap, Bower, Requests and the Github API.
- The recommended Django project layout
- This Python Social Auth for Django tutorial
- How to serve Django apps with uWSGI and Nginx on Ubuntu 14.04 and how to set up Django with PostgreSQL, Nginx and Gunicorn
- This blog post on pytz and Django 讲述设置时区
- Paul Hallett wrote a detailed Django 1.7 app upgrade guide on the Twilio blog from his experience working with the django-twilio package.
- Real Python’s migrations primer explores the difference between South’s migrations and the built-in Django 1.7 migrations as well as how you use them.
- Andrew Pinkham’s “Upgrading to Django 1.7” series is great learning material for understanding what’s changed in this major release and how to adapt your Django project. Part 1, part 2 and part 3 and part 4 are now all available to read.
- Django migrations without downtimes shows one potential way of performing on-line schema migrations with Django.
Channels in 1.9+
Channels are a new mechanism in Django 1.9 provided as a standalone app. They may be incorporated into the core framework in 2.0+. Channels provide “real-time” full-duplex communication between the browser and the server based on WebSockets.
- This tutorial shows how to get started with Django Channels in your project.
- The channels examples repository contains a couple of good starter projects such as a live blog and a chat application to use as base code.
- Channnels currently use Django’s existing authentication scheme, but this blog post JSON Web Tokens authentication on Django Channels shows how to use a custom JSON Web Token (JWT) implementation in Django Channels instead.
- Offloading work using Django Channels is a short post that builds on a previous example to add a shared canvas with group updates via Channels, which would otherwise be difficult to accomplish in a Django web app without a persistent data transfer mechanism.
- Integrating Front End Tools with Django is a good post to read for figuring out how to use Gulp for handling front end tools in development and production Django sites.
- Getting Started with Django Testing will help you stop procrastinating on testing your Django projects if you’re uncertain where to begin.
- Testing in Django provides numerous examples and explanations for how to test your Django project’s code.
- Django views automated testing with Selenium gives some example code to get up and running with Selenium browser-based tests.
Django与Angular (Djangular) 资源
- Getting Started with Django Rest Framework and AngularJS is a very detailed introduction to Djangular with example code.
- Building Web Applications with Django and AngularJS is a very detailed guide for using Django as an API layer and AngularJS as the MVC front end in the browser.
- This end to end web app with Django-Rest-Framework & AngularJS part 1 tutorial along with part 2, part 3 and part 4 creates an example blog application with Djangular. There is also a corresponding GitHub repo for the project code.
- Django-angular is a code library that aims to make it easier to pair Django with AngularJS on the front end.
Django ORM 资源
Django comes with its own custom object-relational mapper (ORM) typically referred to as “the Django ORM”. Learn more about the Django ORM on the Python object-relational mappers page that includes a section specifically for the Django ORM as well as additional resources and tutorials.
- How to Optimize Images for Page Load Speed in Django
- Using Amazon S3 to Store your Django Site’s Static and Media Files
- Loading Django FileField and ImageFields from the file system
- Restricting access to user-uploaded files in Django
- Browser calls with Django and Twilio 展示如何用Django和Twilio Client 把用户的浏览器变成一个电话。相当酷！
- Txt 2 React 一个Django项目，允许用户在演示时输入文本。
- Openduty 一个网站状态监测，类似PagerDuty
- Courtside 是一个体育网站应用
- These two Django Interactive Voice Response (IVR) system web application repositories part 1 and part 2 show you how to build a really cool Django application. There’s also an accompanying blog post with detailed explanations of each step.
- Taiga 是一个项目管理工具，Django做后端，AngularJS做前端。
- Caktus Group’s Django project template 适用于Django 1.6+
- Cookiecutter Django是一个项目模板，配合Cookiecutter使用，结果是Heroku deployment-ready。
- Two Scoops Django project template
- Sugardough 来自Mozilla