- re_path(r'^(?P<slug>[^/]+)/$', bpcms.views.document_view, name='bpcms-document-view'),
- re_path(r'^(?P<folders>.*)/(?P<slug>[^/]+)/$', bpcms.views.document_view, name='bpcms-document-view'),
+ re_path(r'^(?P<path>.*)/$', bpcms.views.document_view, name='bpcms-document-view'),