Creating templates for Django CMS

For every page in your page structure, you need to choose a template from the list of templates that are defined in the settings. In this recipe, we will look at the minimum requirements for these templates.

Getting ready

If you want to start a new Django CMS project, execute the following commands in a virtual environment and answer all the prompted questions:

(myproject_env)$ pip install djangocms-installer
(myproject_env)$ djangocms -p project/myproject myproject

Here, project/myproject is the path where the project will be created and myproject is the project name.

On the other hand, if you want to integrate Django CMS in an existing project, check the official documentation at http://docs.django-cms.org/en/latest/how_to/install.html ...

Get Django: Web Development with Python 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.