Creating Django Views & Models

Generative AI    |    Intermediate
  • 12 videos | 1h 58m 42s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 3 users Rating 4.0 of 3 users (3)
HTML templates and database access play integral roles in modern web development, providing tools to enhance website structure, presentation, and responsiveness. HTML templates serve as the backbone for web pages, defining the document structure and content while database integration serves to make your app serve dynamic, personalized content. Begin this course by adding life to your Django apps with dynamic content. Real apps invariably rely on user input, so you will learn to weave data from Python functions into your HTML templates using template parameters. Then you will use dynamic named URLs to add links between your app's pages. You will use generative AI tools and template inheritance to reduce boilerplate HTML code. Next, you will style and theme your application using Bootstrap templates. Finally, you will dive into data models with Django, using Django's built-in SQLite database and object-relational mapper. You will create a class representing a table and evolve your database schema using migrations.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Add dynamic content to web apps
    Add named urls to an app
    Use parameterized urls
    Perform template inheritance
    Use bootstrap templates
  • Refactor html templates
    Set up data models and apply migrations
    Create and apply migrations
    Manage the schema of data models
    Create foreign key references
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 45s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 11m 5s
    During this video, you will learn how to add dynamic content to web apps. FREE ACCESS
  • Locked
    3.  Configuring Links Using Named URLs with ChatGPT's Help
    10m 26s
    In this video, find out how to add named URLs to an app. FREE ACCESS
  • Locked
    4.  Using Chain of Thought Prompting to Configure Parameterized URLs
    13m 6s
    Learn how to use parameterized URLs. FREE ACCESS
  • Locked
    5.  Eliminating Boilerplate Using Template Inheritance
    12m 29s
    During this video, discover how to perform template inheritance. FREE ACCESS
  • Locked
    6.  Configuring an App Theme Using a Bootstrap Template
    13m 39s
    Find out how to use Bootstrap templates. FREE ACCESS
  • Locked
    7.  Using ChatGPT's Help to Refactor Templates
    10m 59s
    In this video, discover how to refactor HTML templates. FREE ACCESS
  • Locked
    8.  Applying Migrations Using Bing Chat
    13m 38s
    In this video, learn how to set up data models and apply migrations. FREE ACCESS
  • Locked
    9.  Creating and Applying Migrations for the Catalog App
    10m 37s
    Discover how to create and apply migrations. FREE ACCESS
  • Locked
    10.  Managing Database Schema Evolution
    9m 7s
    In this video, find out how to manage the schema of data models. FREE ACCESS
  • Locked
    11.  Configuring Foreign Key References in Models
    9m 10s
    Learn how to create foreign key references. FREE ACCESS
  • Locked
    12.  Course Summary
    2m 42s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.