Creating a content management system

Now that we have created a versatile data model, we are going to build a content management system (CMS). The CMS will allow instructors to create courses and manage their content. We need to provide the following functionality:

  • Login to the CMS.
  • List the courses created by the instructor.
  • Create, edit, and delete courses.
  • Add modules to a course and re-order them.
  • Add different types of content to each module and re-order contents.

Adding the authentication system

We are going to use Django's authentication framework in our platform. Both instructors and students will be an instance of Django's User model. Thus, they will be able to login to the site using the authentication views of django.contrib.auth.

Edit the ...

Get Django By Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.