11
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 an AJAX-based drag-and-drop functionality to order course modules and their contents.
In this chapter, you will build the functionality to access course contents, create a student registration system, and manage student enrollment onto courses. You will also learn how to cache data using the Django cache framework.
In this chapter, you will:
- Create public views for displaying course information
- Build a student registration system
- Manage student enrollment onto courses
Get Django 3 By Example - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.