awesto / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
3.17k stars 1.04k forks source link

django-SHOP is not compatible with django CMS 3.5.0 or higher #733

Open dismine opened 6 years ago

dismine commented 6 years ago

Hi,

Today i have received error django.core.exceptions.FieldError: Cannot resolve keyword 'depth' into field.

According to release note for Django CMS 3.5.0

Another significant example is that the Page model has been decoupled from the site navigation hierarchy. The navigation tree now exists independently, offering further speed advantages, as well as future benefits for development and extensibility.

This change breaks

File "/home/.../venv/lib/python3.5/site-packages/shop/models/product.py", line 206, in get_absolute_url
    cms_page = self.cms_pages.order_by('depth').last()
jrief commented 6 years ago

django-SHOP never claimed to be compatible with django-CMS>=3.5, please also see the requirements file. @haricot currently is porting this to CMS version 3.5. This soon will be available, so please be patient.

dismine commented 6 years ago

Thank you for quick reply.

This soon will be available, so please be patient.

I will.

jrief commented 5 years ago

@dismine django-SHOP now fully supports django-CMS 3.5. Please check the branch https://github.com/awesto/django-shop/tree/drafts/cms-3.5 Feedback is highly appreciated.