meshy / django-conman

NOT READY: Work in progress. A content management system for django
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Add `Route.get_children` #123

Open meshy opened 7 years ago

meshy commented 7 years ago

We can get all descendants with get_descendants, but it would be nice to be able to limit that to direct children only.

Perhaps the inverse of #121.

meshy commented 7 years ago

Alternatively, perhaps it would be better to add a depth parameter to get_descendants. This could then be used to limit the objects returned from there.

meshy commented 6 years ago

Related to #131