URLs:
path('<path:categories>/', viewsCategoryDetailView.as_view(), name='category')
Views:
def get(self, request, *args, **kwargs):
categories = kwargs.get('categories').strip('/') # 'cat/subcat/sub-subcat'
categories = categories.split('/') # ['cat', 'subcat', 'sub-subcat']
...