Create data-driven websites by using the Python framework Django
Offered By: Microsoft via Microsoft Learn
Course Description
Overview
- Module 1: Django is one of the most popular Python web frameworks. Explore its benefits, learn how to install it, and create your first project.
- How to install Django.
- Why Django is great for rapid deployments.
- The difference between Django and Flask.
- The best types of applications for Django.
- How to create a simple program.
- Module 2: Explore models and data in the Python framework Django. Learn about the object-relational mapper, create your own models, and set up a database.
- Describe an object-relational mapping.
- Create a SQLite database in Django.
- Create and activate Django models.
- Explain the purpose of the __str__ method in classes.
- Create and query data in your database.
- Module 3: Learn how to set up the built-in Python framework Django admin site and configure users for the site.
- Enable the Django admin site.
- Create a superuser.
- Add app models and access data.
- Set user permissions.
- Module 4: Learn about the templating engine in the Python framework Django to create dynamic HTML. In this module, you'll create views and use template variables, inheritance, and tags.
- Work with views
- Use template variables and tags
- Add dynamic data to Django templates
- Use template inheritance
- Module 5: Learn how to use generic views in the Python framework Django.
- Use generic views.
- Create Django forms.
- Use the django-crispy-forms library.
- Module 6: Learn how to deploy a application built with the Python framework Django.
- Configure a project for deployment.
- Deploy the project.
In this module, you'll learn:
In this module, you'll learn how to:
By the end of this module, you'll be able to:
In this module, you will:
In this module, you'll learn how to:
In this module, you'll:
Syllabus
- Module 1: Get started with Django
- Introduction
- What is Django?
- Exercise - Install Django
- Explore basic concepts in Django
- Exercise - Create your first project
- Understand paths and views
- Exercise - Create paths and views
- Knowledge check
- Summary
- Module 2: Work with models and data in Django
- Introduction
- Exercise - Set up the project and install Django
- Django object-relational mapper
- Models in Django
- Exercise - Create models
- Manage the database
- Exercise - Create the database schema
- Exercise - Work with data
- Knowledge check
- Summary
- Module 3: Work with the Django admin site
- Introduction to the Django admin site
- Exercise - Get the starter project
- Permissions for the admin site
- Exercise - Create users
- Exercise - Manage data
- Exercise - Manage permissions
- Knowledge check
- Summary
- Module 4: Create views and templates in Django
- Introduction
- Exercise - Get the starter project
- Get started with views
- Exercise - Create views
- Get started with Django templates
- Exercise - Create templates
- Knowledge check
- Summary
- Module 5: Use generic views in Django
- Introduction
- Exercise - Set up the starter project
- Use generic views to display data
- Exercise - Implement generic views to display data
- Use generic views to edit data
- Exercise - Implement generic views to edit data
- Exercise - Implement django-crispy-forms
- Knowledge check
- Summary
- Module 6: Deploy a Django application to Azure by using PostgreSQL
- Deploy to Azure
- Get the starter
- Deployment considerations
- Prepare your application for deployment
- Deployment considerations
- Deploy to Azure
- Knowledge check
- Summary
Tags
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity