django-shop icon indicating copy to clipboard operation
django-shop copied to clipboard

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

Open dismine opened this issue 6 years ago • 3 comments

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()

dismine avatar May 23 '18 15:05 dismine

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.

jrief avatar May 23 '18 15:05 jrief

Thank you for quick reply.

This soon will be available, so please be patient.

I will.

dismine avatar May 23 '18 16:05 dismine

@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.

jrief avatar Aug 18 '18 16:08 jrief