Creating a Content Management System

In the previous chapter, you created the application models for the e-learning platform and learned how to create and apply data fixtures for models. You created a custom model field to order objects and implemented user authentication.

In this chapter, you will learn how to build the functionality for instructors to create courses and manage the contents of those courses in a versatile and efficient manner.

In this chapter, you will learn how to:

  • Create a content management system using class-based views and mixins
  • Build formsets and model formsets to edit course modules and module contents
  • Manage groups and permissions
  • Implement a drag-and-drop functionality to reorder modules and content

The source ...

Get Django 4 By Example - Fourth 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.