- form = NodeWithOverrideForm
- fieldsets = (
- (None, {
- 'fields': ('parent', 'slug', 'view_content_type', 'view_object_id'),
- }),
- ('Navigation Overrides', {
- 'fields': ('title', 'url', 'child_navigation'),
- 'classes': COLLAPSE_CLASSES
- })
- )
- inlines = [ChildNavigationOverrideInline] + TreeEntityAdmin.inlines
+ list_display = ('slug', 'view', 'accepts_subpath')
+
+ def accepts_subpath(self, obj):
+ return obj.accepts_subpath
+ accepts_subpath.boolean = True