Creating Django Views & Models
Generative AI
| Intermediate
- 12 videos | 1h 58m 42s
- Includes Assessment
- Earns a Badge
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 courseAdd dynamic content to web appsAdd named urls to an appUse parameterized urlsPerform template inheritanceUse bootstrap templates
-
Refactor html templatesSet up data models and apply migrationsCreate and apply migrationsManage the schema of data modelsCreate foreign key referencesSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 45sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
11m 5sDuring this video, you will learn how to add dynamic content to web apps. FREE ACCESS
-
10m 26sIn this video, find out how to add named URLs to an app. FREE ACCESS
-
13m 6sLearn how to use parameterized URLs. FREE ACCESS
-
12m 29sDuring this video, discover how to perform template inheritance. FREE ACCESS
-
13m 39sFind out how to use Bootstrap templates. FREE ACCESS
-
10m 59sIn this video, discover how to refactor HTML templates. FREE ACCESS
-
13m 38sIn this video, learn how to set up data models and apply migrations. FREE ACCESS
-
10m 37sDiscover how to create and apply migrations. FREE ACCESS
-
9m 7sIn this video, find out how to manage the schema of data models. FREE ACCESS
-
9m 10sLearn how to create foreign key references. FREE ACCESS
-
2m 42sIn 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.