Closed petedermott closed 8 years ago
Thanks for reporting this. I can reproduce the problem. We will fix this ASAP.
This looks like a problem because of incompatible dependencies (you end up with Django 1.10 in your virtualenv). Temporary workaround: pip install 'Django<1.10'
.
I see two problems in our code related to this:
1) We should specify 'Django>=1.9,<1.10'
in install_requires
.
2) Running pip install -e .
after pip install -r requirements/common.txt
might update dependencies. Maybe we should just revert the order of these commands in the documentation.
Yes , Django==1.10 isn't supported by Django-shop because djangocms-cascade doesn't support yet Django==1.10
It may also be worth noting that even after making this change scss files still have to be compiled with a ./manage.py compilescss
in order to get the site to load. This also throws up some none blocking errors:
(django-shop) vagrant@vagrant:/vagrant/projects/shop/django-shop/example$ ./manage.py compilescss
Invalid template /home/vagrant/virtualenvs/django-shop/lib/python3.4/site-packages/cmsplugin_cascade/templates/cascade/templatetags/section-selector.html: 'for' statements should have at least four words: for
Error parsing template /home/vagrant/virtualenvs/django-shop/lib/python3.4/site-packages/menus/templates/menu/dummy.html: Invalid template name in 'extends' tag: ''. Got this from the 'template' variable.
Error parsing template /home/vagrant/virtualenvs/django-shop/lib/python3.4/site-packages/cms/templates/cms/dummy.html: Invalid template name in 'extends' tag: ''. Got this from the 'template' variable.
@petedermott Thanks for pointing this out. I think these errors can be safely ignored.
This should be fixed in the master branch now. If you still run into any problems, please file a new issue. Thanks for your help!
@petedermott these are just warnings and should not prevent you from testing. Anyway, yesterday I released django-sass-processor==0.5.1 which finds automatically all SASS include pathes. Do you use it?
@petedermott Did you figured it out how to make it work? @jrief I tried to change the setting in requirements/common.txt with "django-sass-processor==0.5.1",however, the "manage.py migrate" still giving the error "ImportError: No module named cmsplugin_cascade.utils" Any ideas? Thanks, Peter pingyang.whu@gmail.com
yesterday I created a version which is known to run:
git clone -b releases/0.13.x --depth 1 https://github.com/awesto/django-shop
cd django-shop
docker-compose up -d --build
Point a browser onto http://docker-machines-ip:9009/en/ If you you Docker on Mac, docker-machines-ip presumably is 192.168.99.100
I am trying to build a new django-shop app, as per the instructions at http://django-shop.readthedocs.io/en/latest/tutorial/intro.html and http://django-shop.readthedocs.io/en/latest/tutorial/quickstart.html#tutorial-quickstart
Here is my initial installation log.
After this I run the
./manage.py initialize_shop_demo
and get the following error: