Creating Django Views & Models
Master Django views and models using generative AI. Incorporate dynamic content, Bootstrap theming, and SQLite database integration for robust web apps.
About this course
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.
Learning objectives
Discover the key concepts covered in this course
Add dynamic content to web apps
Add named urls to an app
Show all
There are no reviews yet.