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

Wrong scriptname request if django-shop run under a subfolder

Open haricot opened this issue 6 years ago • 3 comments

This comes from django-cms, solved with this PR https://github.com/divio/django-cms/pull/6160

Otherwise it will be an error of the type: AttributeError("'NoneType' object has no attribute 'publisher_is_draft'",)

haricot avatar Dec 01 '17 21:12 haricot

How can I reproduce this?

jrief avatar Dec 10 '17 22:12 jrief

Yes, if i use apache and mod_wsgi with WSGIScriptAlias /myshop without applying PR divio/django-cms#6160 I get the error above.

haricot avatar Dec 11 '17 01:12 haricot

It happens when I go to an page url with an apphook Catalog List.

haricot avatar Dec 11 '17 01:12 haricot