Skip to Main Content
Django 5 By Example - Fifth Edition
book

Django 5 By Example - Fifth Edition

by Antonio Melé
April 2024
Beginner to intermediate content levelBeginner to intermediate
822 pages
18h 50m
English
Packt Publishing
Content preview from Django 5 By Example - Fifth Edition

14

Rendering and Caching Content

In the previous chapter, you used model inheritance and generic relations to create flexible course content models. You implemented a custom model field and you built a course management system using class-based views. Finally, you created a JavaScript drag-and-drop functionality using asynchronous HTTP requests to order course modules and their contents.

In this chapter, you will build the functionality to create a student registration system and manage student enrollment in courses. You will implement rendering of the different types of course content and learn how to cache data using the Django cache framework.

Rendering diverse content types is essential in e-learning platforms, where courses are typically ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Django 5 for the Impatient - Second Edition

Django 5 for the Impatient - Second Edition

Daniel Correa, Greg Lim

Publisher Resources

ISBN: 9781805125457Supplemental Content