diff --git a/navbar/admin.py b/navbar/admin.py index efd32b7..e12cc4f 100644 --- a/navbar/admin.py +++ b/navbar/admin.py @@ -19,6 +19,8 @@ class ElementDescriptionInline(admin.StackedInline): class ElementAdmin(admin.ModelAdmin): + list_display = ('__str__', 'parent', 'link', 'weight') + ordering = ('parent', 'weight') inlines = [ElementDescriptionInline]