creat a django cms homepage code example
Example: django cms create page programmatically
from cms.api import create_page
data = {
'title': 'HOME', 'template': 'home.html',
'language': 'en','reverse_id': 'home', 'published': True,
'created_by': 'db-initialization'
}
create_page(**data)