+ list_display = ('slug', 'view', 'accepts_subpath')
+ related_lookup_fields = {
+ 'fk': [],
+ 'm2m': [],
+ 'generic': [['view_content_type', 'view_object_id']]
+ }
+
+ def accepts_subpath(self, obj):
+ return obj.accepts_subpath
+ accepts_subpath.boolean = True