Ran into a problem trying to test out Leonardo. Ignoring the warnings like the sample below:
(leonardo_venv) 10:59 ~/source/test1 $ ./manage.py bootstrap_site --url=http://github.com/django-leonardo/django-leonardo/raw/master/contrib/bootstrap/demo.yaml/home/visrico/.virtualenvs/leonardo_venv/src/django-leonardo/leonardo/settings.py:74: UserWarning: leonardo_site.local.settings is obsolete use new location 'leonardo_site.local.settings is obsolete use new location')
/home/visrico/.virtualenvs/leonardo_venv/src/django-leonardo/leonardo/settings.py:91: UserWarning: local_settings was not found in $PYTHONPATH !
'local_settings was not found in $PYTHONPATH !')
/home/visrico/.virtualenvs/leonardo_venv/src/django-leonardo/leonardo/settings.py:269: UserWarning: Missing local_settings !
'Missing local_settings !')
/home/visrico/.virtualenvs/leonardo_venv/src/django-leonardo/leonardo/settings.py:287: UserWarning: DEBUG is set to True but, DEBUG tools is not installed please run "pip install django-leonardo[debug]"
warnings.warn('DEBUG is set to True but, DEBUG tools '
/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
[01/Aug/2017 10:59:48] WARNING [py.warnings:9] /home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
When I tried to execute this line:
./manage.py bootstrap_site --url=http://github.com/django-leonardo/django-leonardo/raw/master/contrib/bootstrap/demo.yaml
It fails with:
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/management/commands/bootstrap_site.py", line 38, in handle
force=force)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/scaffold_web.py", line 192, in create_new_site
_handle_regions(regions, page)
File "/home/visrico/.virtualenvs/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/scaffold_web.py", line 91, in _handle_regions
name=w_attrs['base_theme'])
KeyError: 'base_theme'
Which, if you look at the issue ticket I created the last time I tried this, is the same exact error!