model = NavigationItem
extra = 1
sortable_field_name = 'order'
+ related_lookup_fields = {'fk': raw_id_fields}
class NavigationItemChildInline(NavigationItemInline):
})
)
raw_id_fields = NAVIGATION_RAW_ID_FIELDS
+ related_lookup_fields = {'fk': raw_id_fields}
inlines = [NavigationItemChildInline] + TreeEntityAdmin.inlines
class NavigationAdmin(EntityAdmin):
inlines = [NavigationNavigationItemInline]
raw_id_fields = ['node']
+ related_lookup_fields = {'fk': raw_id_fields}
admin.site.unregister(Node)