create a website with django cms 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)