Reputation: 1276
In my django-cms project there are different departments which have different subgroups and those projects, etc. Basically a tree structure. I am wondering how to make django-cms to create the page urls in a hierarchical way, such as
Is there a way to guide django-cms to generate this kind of hierarchical structure?
All input will be more than welcome. Thanks!
Upvotes: 2
Views: 169
Reputation: 11
The easiest way would be clicking on the create page. It will show up the option for the page and subpage. Click on create page and enter name "departmentA" and again click on create and this time select create subpage, enter name "group1". It will create a page url "/departmentA/group1".
Upvotes: 1
Reputation: 1276
@Brandon thanks for your suggestion but I didn't need to go that far :-)
I just found out that just by indicating the parent from my call to create_page() I can make the desired nested url.
Upvotes: 2