課程目錄:Learn Django from Basic to Advanced培訓
4401 人關注
(78637/99817)
課程大綱:

  Learn Django from Basic to Advanced培訓

 

 

 

Django Overview
Django is a framework
Frameworks VS Packages
What can it do?
What are the alternatives?
Getting Started with Django
Sites and Apps
Shared Configuration
Minimal Django layout
Built-in Flexibility
Using Cookiecutter
Why Cookiecutter?
Cookiecutter Features
Creating a project
Creating an app
Customizing Cookiecutter
Creating models with Django ORM
Defining Models
Related Objects
SQL Migration
App Configuration
Accessing Models
Login for Nothing and Admin for Free
Setting up the admin user
Running the admin site
Tweaking the admin interface
Changing the admin index page
Basic Views (AKA Controllers)
What is a view?
Http Response
URL Route Configuration
Shortcut: get_object_or_404()
Working with Templates
About templates
Django template syntax
Static files
Loading templates
The URL tag
Shortcut: template.render()
Querying the Models
Query Sets
Field lookups
Chaining filters
Slicing Query Sets
Related Fields
Q objects
Enhancing Models
Custom Methods
Complex Relationships
Overriding Standard Methods
Forms
Forms Overview
GET and POST
The Form Class
Processing the form
Widgets
Validation
Forms in templates
Beyond the basics
Debugging
Printing to the console
Django debug page
Reading Django logs
Django debug toolbar
Class-based Views
About Generic Views
Types of Generic Views
Default Generic Views
Class-based Generic Views
List and Details of Views
User Authentication
Authentication VS Authorization
Configuring Users
Permissions
Groups
Session Management
Enabling sessions
Types of session backends
Session Cookies
Accessing sessions from views
Migrations
Managed VS Unmanaged Tables
Handling Schema Changes
Using Make Migrations and Migrate
Tweaking Migrations
Migrating Data
Advanced Configuration
Django Settings Architecture
Typical Configuration
Using 12 Factor Config
Security Considerations
Serving Data with a RESTtful Interface
The Django REST Framework
Serialization
Requests and Responses
Function-based Views
Class-based Views
Static File Management
Types of Static Files
Configuring Access
Namespacing
Templates
Deploying from outside Django
Automated Testing
Why Create Tests?
When to Create Tests?
Using Django’s Test Framework
Using the test client
Running Tests
Checking Code Coverage
Using the Cache
Types of Caches
Setting up the Cache
Per-site and Per-view caching
Low-level API
Cache Security
Creating Reusable Apps
Packaging
Choosing an Appropriate Name
Deploying
Using Setup Tools
Documentation with Sphinx
Description of Sphinx
Restructured Text
Configuring Sphinx
Creating Doc Files
Using Auto doc
Generating Docs

主站蜘蛛池模板: 欧美久久综合性欧美| 欧美亚洲另类久久综合婷婷| 亚洲欧美日韩综合| 亚洲欧美综合一区二区三区| 亚洲国产精品综合久久一线| 国产成人亚洲综合一区| 亚洲综合中文字幕无线码| 色噜噜狠狠色综合日日| 日韩欧美在线综合网另类| 亚洲欧美国产∧v精品综合网| 亚洲精品国产第一综合99久久| 国产成人综合精品一区| 亚洲人成网站999久久久综合| 天天久久狠狠色综合| 青青草原综合久久大伊人精品| 亚洲欧美综合在线天堂| 亚洲欧美国产日韩综合久久| 国产美女亚洲精品久久久综合| 伊人久久综合成人网| 婷婷五月综合色视频| 欧美日韩在线精品一区二区三区激情综合| 99久久亚洲综合精品网站| 日日AV色欲香天天综合网| 伊人久久综合成人网| 久久婷婷色香五月综合激情| 五月天激情综合| 天堂久久天堂AV色综合| 狼狼综合久久久久综合网| 五月婷婷综合网| 日韩亚洲欧美久久久www综合网| 综合无码一区二区三区| 国产亚洲欧洲Aⅴ综合一区| 久久综合综合久久综合| 国产成人亚洲综合网站不卡| 色婷婷综合久久久中文字幕| 久久婷婷五月综合色99啪ak| 亚洲国产一成久久精品国产成人综合| 狠狠色噜噜狠狠狠狠色综合久AV| 一本一本久久a久久精品综合麻豆| 国产亚洲综合久久系列| 久久综合九色综合欧美就去吻|