Create data-driven websites by using the Python framework Django

Go to class
Write Review

Free Online Course: Create data-driven websites by using the Python framework Django provided by Microsoft Learn is a comprehensive online course, which lasts for 3 hours worth of material. The course is taught in English and is free of charge.

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.
    • In this module, you'll learn:

      • 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.
    • In this module, you'll learn how to:

      • 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.
    • By the end of this module, you'll be able to:

      • 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.
    • In this module, you will:

      • 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.
    • In this module, you'll learn how to:

      • 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.
    • In this module, you'll:

      • Configure a project for deployment.
      • Deploy the project.

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