|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/django-2x-deploying-heroku/
课程评论:没有评论
课程名称:从零到英雄的Django 2.0及在Heroku和Amazon上部署 概述:本课程将深入讲解如何使用最新版本(2.0)的Django网页框架创建网站和网络应用程序。通过逐步深入的教学,我们将理解Django框架的整个请求生命周期。课程结束时,你将拥有自己的网络应用程序(一个客户管理系统),并在一个高度可靠的网络服务器(Heroku)上以专业的方式发布。 课程内容包括: - **初步步骤**:准备环境、安装Python、Django和PyCharm,创建项目及首次运行项目。 - **创建应用**:设置你的第一个URL和视图,正确使用模型,自定义Django管理员。 - **理解Django视图**:了解URL机制,Django如何处理静态文件和媒体文件。 - **CRUD操作**:准备项目,创建列表视图、详细视图、更新视图和删除视图。 - **安全性**:启用Django登录系统,设置登录和注销URL。 - **数据库关系**:学习一对一关系、外键关系和多对多关系的设置。 - **Heroku部署准备**:安装依赖项,创建Heroku账户,配置Postgres数据库及静态文件,首次部署。 - **项目美化**:与Bootstrap集成,使用django-bootstrapform进行表单样式设计。 - **发布新版本**:使用AWS的媒体文件和静态文件。 - **Amazon准备**:创建S3 Bucket,安装boto s3,首次上传文件到S3。 通过本课程的学习,你将全面掌握Django 2.0的技术,能够独立开发并部署一个功能完整的网络应用。
In this course, we are going to cover websites and web applications using the latest version (2.0) of Django web framework. We will go deep step-by-step into the Django framework understanding the whole request life cycle. By the end of this course, you are going to have your own web application ( a Client manager ) published online in a highly reliable web server ( Heroku ) using the best practices in a very professional way. First stepsIntroductionPreparing the environmentInstalling Python, Django, and PycharmCreating the projectRunning the project for the first timeCreating appsCreating your first URL's and viewsUsing Models in the right wayCustomizing Django AdminUnderstanding Django viewsUsing the URL mechanismHow does Django handle static filesHoe does Django handles Media filesCrudPreparing the projectCreating the list viewCreating the Detail viewCreating the Update viewCreating the Delete viewSecurityEnabling Django Login SystemLogin and Logout URLDatabase relationshipsOneToOne relationshipsForeign key relationshipsManyToMany relationshipsPreparing the project for deploying on HerokuInstalling the dependencesCreating the Heroku accountConfiguring the Postgres databaseConfiguring the Static filesDeploying for the first timeStyling the projectIntegrating with BootstrapStyling the forms with django-bootstrapformStyling grids Releasing a new versionUsing Media files and Static files on AWS Preparing the project for AmazonCreating the Bucket on S3Installing boto s3 on your projectUpload the files to S3 for the first time