问题
I encountered a problem using the djangocms-light-gallery from https://pypi.org/project/djangocms-light-gallery/.
After following the installation steps described in the above posted link, everything seemed to work as expected at first sight. The plugin appears as "Light Gallery" among the other components, thumbnails are displayed correctly, the gallery view opens, etc.
The only thing that is missing is the main picture in gallery view. I have no idea how to fix this..
I receive the following error message:
Page not found (404)
Request Method: GET
Request URL: http://localhost:8000/en/mypage/filer_public/e8/59/e859299d-5408-4f37-bedc-6005db1833a8/mypicture.jpg/
Raised by: cms.views.details
Using the URLconf defined in mypage.urls, Django tried these URL patterns, in this order:
en/ ^jsi18n/$ [name='javascript-catalog']
^static/(?P<path>.*)$
en/ ^admin/
en/ ^ ^cms_login/$ [name='cms_login']
en/ ^ ^cms_wizard/
en/ ^ ^(?P<slug>[0-9A-Za-z-_.//]+)/$ [name='pages-details-by-slug']
en/ ^ ^$ [name='pages-root']
en/ ^ ^$ [name='home']
en/ ^sitemap\.xml$
^media/(?P<path>.*)$
The current path, /en/mypage/filer_public/e8/59/e859299d-5408-4f37-bedc-6005db1833a8/mypicture.jpg/, didn't match any of these.
Can someone help?
来源:https://stackoverflow.com/questions/61954096/main-picture-missing-in-djangocms-light-gallery