djangocms_installer.django package

Module contents

djangocms_installer.django.copy_files(config_data)[source]

It’s a little rude actually: it just overwrites the django-generated urls.py with a custom version and put other files in the project directory.

Parameters:config_data – configuration data
djangocms_installer.django.create_project(config_data)[source]

Call django-admin to create the project structure

Parameters:config_data – configuration data
djangocms_installer.django.create_user(config_data)[source]

Create admin user without user input

Parameters:config_data – configuration data
djangocms_installer.django.load_starting_page(config_data)[source]

Load starting page into the CMS

Parameters:config_data – configuration data
djangocms_installer.django.patch_settings(config_data)[source]

Modify the settings file created by Django injecting the django CMS configuration

Parameters:config_data – configuration data
djangocms_installer.django.setup_database(config_data)[source]

Run the migrate command to create the database schema

Parameters:config_data – configuration data