awesto / cookiecutter-django-shop

Cookiecutter django-SHOP is a blueprint for an e-commerce site based on django-CMS.
126 stars 58 forks source link

Container cannot start. #35

Closed Pandorin closed 3 years ago

Pandorin commented 4 years ago
$ cookiecutter https://github.com/awesto/cookiecutter-django-shop
$ docker-compose up --build -d
webapp_1 | File "/web/dveri4you/models.py", line 6, in <module>
webapp_1 | from shop.models.order import BaseOrderItem
webapp_1 | File "/usr/local/lib/python3.6/site-packages/shop/models/order.py", line 14, in <module>
webapp_1 | from ipware.ip import get_ip
webapp_1 | ImportError: cannot import name 'get_ip'

Few hours ago released django-ipware 3.0.0 and changed get_ip() method (Remove deprecated logic). django-ipware = "*" in Pipfile.

Pandorin commented 4 years ago

Fix bug with ipware.ip import get_ip #825.

jeffykle commented 4 years ago

In the meantime pip install django-ipware==2.1.0

jrief commented 3 years ago

This has been fixed with django-shop 1.2.3 Thanks for informing me.